Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Auto-updating #3505

Merged
merged 120 commits into from
Dec 16, 2016
Merged
Show file tree
Hide file tree
Changes from 103 commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
4bb4ed9
Initial checking.
gavofyork Nov 13, 2016
2fa2f83
isLatest works.
gavofyork Nov 14, 2016
28aabcd
Merge branch 'master' into check-updates
gavofyork Nov 18, 2016
401a4a3
Initial structure for auto-updater.
gavofyork Nov 18, 2016
cd77049
Remove unneeded file.
gavofyork Nov 18, 2016
9f030db
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 18, 2016
4fd575b
Add traces.
gavofyork Nov 18, 2016
44eda37
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 19, 2016
27a8608
More information in the updater.
gavofyork Nov 20, 2016
601e0fb
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 21, 2016
10e6484
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 21, 2016
45dead9
Naming consistency and make Updater improvements.
gavofyork Nov 22, 2016
bf9ed2d
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 22, 2016
4c9bb5a
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 23, 2016
9d3b235
More work.
gavofyork Nov 23, 2016
5d62cfd
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 23, 2016
90b5d1c
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 23, 2016
03ef95b
Compiles.
gavofyork Nov 23, 2016
735df6c
More work.
gavofyork Nov 24, 2016
45017c5
Update test, fix number.
gavofyork Nov 24, 2016
befb0bf
Merge branch 'fix-number' into check-updates
gavofyork Nov 25, 2016
8cddf99
Better information.
gavofyork Nov 25, 2016
de8dd47
Fetch binaries.
gavofyork Nov 25, 2016
ce3f491
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Nov 27, 2016
8e2aca7
Shared hash-fetch
Nov 30, 2016
90a20a2
Merge branch 'master' into check-updates
gavofyork Dec 4, 2016
356aca2
Fix build.
gavofyork Dec 4, 2016
b8c4926
Fix more build.
gavofyork Dec 4, 2016
9d79cac
Cleanups.
gavofyork Dec 4, 2016
459babb
Logging.
gavofyork Dec 5, 2016
afe4cc6
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 5, 2016
8903384
Merge branch 'master' into check-updates
gavofyork Dec 7, 2016
c2b6be9
Fetch and place in updates path.
gavofyork Dec 9, 2016
e5e6b77
Cleanups and avoid redownloading.
gavofyork Dec 9, 2016
46af3d1
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 9, 2016
c827548
Fix typo.
gavofyork Dec 9, 2016
edd5e76
Merge branch 'consistent-id' into check-updates
gavofyork Dec 9, 2016
316c25d
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 10, 2016
fa30dfd
Refactor into system service, add exe redirect.
gavofyork Dec 10, 2016
0302d58
Fix build.
gavofyork Dec 11, 2016
120564f
Avoid pulling in hash_fetch.
gavofyork Dec 11, 2016
0a49496
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 11, 2016
7a1539c
Fix deadlock.
gavofyork Dec 11, 2016
2865cba
Use file contents instead of symlink.
gavofyork Dec 11, 2016
d9f6ea5
Don't restart if we're not in the cradle.
gavofyork Dec 11, 2016
8d7a63b
Join up the final dots.
gavofyork Dec 11, 2016
5bf9fa9
Allow reuse of previous logger.
gavofyork Dec 11, 2016
0e17cf8
Fix tests.
gavofyork Dec 11, 2016
74a6203
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 11, 2016
22cb575
Improve capability information and disable old clients.
gavofyork Dec 11, 2016
e09b1fa
Fix semver version issues.
gavofyork Dec 11, 2016
10b0898
Crate tidyups.
gavofyork Dec 11, 2016
35b037e
Add renamed files.
gavofyork Dec 11, 2016
33f266f
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 11, 2016
15bb3f9
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 11, 2016
3aab5de
Refactor into a service.
gavofyork Dec 11, 2016
e528ac9
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 11, 2016
d8ad09b
Make updater an IPC module.
gavofyork Dec 11, 2016
d81d9d7
Wire-in Updater to parity RPC
gavofyork Dec 11, 2016
2d0d468
Add first Updater RPC.
gavofyork Dec 11, 2016
7587444
Expose all other RPCs.
gavofyork Dec 12, 2016
32746df
Add missing ;s
gavofyork Dec 12, 2016
382a0b2
Avoid warning.
gavofyork Dec 12, 2016
77cb937
Please info!s in updater target.
gavofyork Dec 12, 2016
4c9ea55
Add an Updater mockup and provide a test for it.
gavofyork Dec 12, 2016
7975d47
Flesh out RPC tests.
gavofyork Dec 12, 2016
a659adf
Only ignore parity.* files in root
jacogr Dec 12, 2016
c784ab5
Extend jsapi interfaces with documentation
jacogr Dec 12, 2016
1135674
WIP UI (dialog available)
jacogr Dec 12, 2016
ab4d666
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 12, 2016
988ac8a
Add forks supported.
gavofyork Dec 12, 2016
9a26caf
Build settings
jacogr Dec 12, 2016
7a0fccf
Add shared icons
jacogr Dec 12, 2016
a2a89f7
Basic UI structure in-place
jacogr Dec 12, 2016
a8ae9b0
Typo
jacogr Dec 12, 2016
f15671c
UI interface completed, to be tested
jacogr Dec 12, 2016
e170134
Merge branch 'master' into check-updates
jacogr Dec 12, 2016
9931d76
Merge remote-tracking branch 'origin/check-updates' into check-updates
jacogr Dec 12, 2016
dbc6b42
Lint fixes
jacogr Dec 12, 2016
51b544c
Simplify icon exports
jacogr Dec 12, 2016
7e269fe
GLitlab-CI script pushes build info.
gavofyork Dec 13, 2016
362b201
Don't run git unnecessarily.
gavofyork Dec 13, 2016
119f253
Fix windows test.
gavofyork Dec 13, 2016
e099e0d
Add auth code.
gavofyork Dec 13, 2016
575afd8
Merge branch 'check-updates' of github.com:ethcore/parity into check-…
gavofyork Dec 13, 2016
c6281fc
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 13, 2016
6a48e9d
Print output for commands, don't info!
gavofyork Dec 13, 2016
aaf6d59
Disable windows tests until it works.
gavofyork Dec 13, 2016
4424155
Similar checks on file changes to other tests.
gavofyork Dec 13, 2016
805b8ca
Add missing file.
gavofyork Dec 13, 2016
597c3a4
Ensure chain state is at threshold security level before looking for …
gavofyork Dec 13, 2016
d165356
Add contract ABI auto-generatr.
gavofyork Dec 13, 2016
d28ec2f
Make enode available on Status page
jacogr Dec 14, 2016
a8f428c
Display capability status on statusbar
jacogr Dec 14, 2016
2588aea
Merge branch 'master' into check-updates
jacogr Dec 14, 2016
7330612
Toggle upgrade modal via upgrade link
jacogr Dec 14, 2016
bf7fb84
Don't put sha3s.
gavofyork Dec 14, 2016
054a6a9
Merge branch 'master' into check-updates
jacogr Dec 15, 2016
590428e
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 15, 2016
5e59e0b
Fix build.
gavofyork Dec 15, 2016
9dd1268
Add keys for steps (future-proof)
jacogr Dec 15, 2016
db2e1dd
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 15, 2016
c12702f
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 15, 2016
fa319ff
Remove duplicate line.
gavofyork Dec 15, 2016
4a2b418
Configurable update tracks to help testing.
gavofyork Dec 15, 2016
d737de0
Fix tests.
gavofyork Dec 15, 2016
995fafe
Fix last remaining test.
gavofyork Dec 15, 2016
8015963
--release-track.
gavofyork Dec 15, 2016
4410fb6
Respect system paths.
gavofyork Dec 15, 2016
1a790b7
Fix centos's reported build platform.
gavofyork Dec 15, 2016
5bab14e
Merge remote-tracking branch 'origin/master' into check-updates
gavofyork Dec 15, 2016
ca0d87d
125 -> 69.
gavofyork Dec 15, 2016
869fbf5
Fix linting.
gavofyork Dec 15, 2016
7cac506
Add JS tests for parity_netPeers
gavofyork Dec 15, 2016
a6a8e43
Fix lint
gavofyork Dec 15, 2016
ba60e04
Tone down logging.
gavofyork Dec 16, 2016
35b1848
Don't check for updates while syncing.
gavofyork Dec 16, 2016
396ab5b
Refactor and make is_syncing.
gavofyork Dec 16, 2016
90d3d33
Use info! for blockchain status rather than stdout.
gavofyork Dec 16, 2016
b437265
Fix build.
gavofyork Dec 16, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@
out/

.vscode

/parity.*
56 changes: 37 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ linux-stable:
- stable
- triggers
script:
- curl --data "secret=$RELEASES_SECRET" http://icarus.parity.io/push-release/$CI_BUILD_REF_NAME/$CI_BUILD_REF
- cargo build -j $(nproc) --release $CARGOFLAGS
- strip target/release/parity
- export SHA3=$(target/release/parity tools hash target/release/parity)
- md5sum target/release/parity > parity.md5
- sh scripts/deb-build.sh amd64
- cp target/release/parity deb/usr/bin/parity
Expand All @@ -36,6 +38,7 @@ linux-stable:
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/parity.md5 --body parity.md5
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/"parity_"$VER"_amd64.deb" --body "parity_"$VER"_amd64.deb"
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu/"parity_"$VER"_amd64.deb.md5" --body "parity_"$VER"_amd64.deb.md5"
- curl --data "commit=$CI_BUILD_REF&sha3=$SHA3&filename=parity&secret=$RELEASES_SECRET" http://icarus.parity.io/push-build/$CI_BUILD_REF_NAME/x86_64-unknown-linux-gnu
tags:
- rust
- rust-stable
Expand Down Expand Up @@ -92,15 +95,18 @@ linux-centos:
script:
- export CXX="g++"
- export CC="gcc"
- export PLATFORM=x86_64-unknown-linux-gnu
- cargo build -j $(nproc) --release $CARGOFLAGS
- strip target/release/parity
- md5sum target/release/parity > parity.md5
- export SHA3=$(target/release/parity tools hash target/release/parity)
- aws configure set aws_access_key_id $s3_key
- aws configure set aws_secret_access_key $s3_secret
- if [[ $CI_BUILD_REF_NAME =~ ^(master|beta|stable)$ ]]; then export S3_BUCKET=builds-parity-published; else export S3_BUCKET=builds-parity; fi
- aws s3 rm --recursive s3://$S3_BUCKET/$CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu/parity --body target/release/parity
- aws s3api put-object --bucket builds-parity --key $CI_BUILD_REF_NAME/x86_64-unknown-centos-gnu/parity.md5 --body parity.md5
- curl --data "commit=$CI_BUILD_REF&sha3=$SHA3&filename=parity&secret=$RELEASES_SECRET" http://icarus.parity.io/push-build/$CI_BUILD_REF_NAME/$PLATFORM
tags:
- rust
- rust-centos
Expand All @@ -119,22 +125,26 @@ linux-i686:
script:
- export HOST_CC=gcc
- export HOST_CXX=g++
- export COMMIT=$(git rev-parse HEAD)
- export PLATFORM=i686-unknown-linux-gnu
- cargo build -j $(nproc) --target i686-unknown-linux-gnu --release $CARGOFLAGS
- strip target/i686-unknown-linux-gnu/release/parity
- md5sum target/i686-unknown-linux-gnu/release/parity > parity.md5
- strip target/$PLATFORM/release/parity
- md5sum target/$PLATFORM/release/parity > parity.md5
- export SHA3=$(target/$PLATFORM/release/parity tools hash target/$PLATFORM/release/parity)
- sh scripts/deb-build.sh i386
- cp target/i686-unknown-linux-gnu/release/parity deb/usr/bin/parity
- cp target/$PLATFORM/release/parity deb/usr/bin/parity
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
- dpkg-deb -b deb "parity_"$VER"_i386.deb"
- md5sum "parity_"$VER"_i386.deb" > "parity_"$VER"_i386.deb.md5"
- aws configure set aws_access_key_id $s3_key
- aws configure set aws_secret_access_key $s3_secret
- if [[ $CI_BUILD_REF_NAME =~ ^(master|beta|stable)$ ]]; then export S3_BUCKET=builds-parity-published; else export S3_BUCKET=builds-parity; fi
- aws s3 rm --recursive s3://$S3_BUCKET/$CI_BUILD_REF_NAME/i686-unknown-linux-gnu
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/parity --body target/i686-unknown-linux-gnu/release/parity
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/parity.md5 --body parity.md5
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/"parity_"$VER"_i386.deb" --body "parity_"$VER"_i386.deb"
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/i686-unknown-linux-gnu/"parity_"$VER"_i386.deb.md5" --body "parity_"$VER"_i386.deb.md5"
- aws s3 rm --recursive s3://$S3_BUCKET/$CI_BUILD_REF_NAME/$PLATFORM
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/parity --body target/$PLATFORM/release/parity
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/parity.md5 --body parity.md5
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/"parity_"$VER"_i386.deb" --body "parity_"$VER"_i386.deb"
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/"parity_"$VER"_i386.deb.md5" --body "parity_"$VER"_i386.deb.md5"
- curl --data "commit=$CI_BUILD_REF&sha3=$SHA3&filename=parity&secret=$RELEASES_SECRET" http://icarus.parity.io/push-build/$CI_BUILD_REF_NAME/$PLATFORM
tags:
- rust
- rust-i686
Expand Down Expand Up @@ -292,7 +302,6 @@ linux-aarch64:
- aws configure set aws_secret_access_key $s3_secret
- if [[ $CI_BUILD_REF_NAME =~ ^(master|beta|stable)$ ]]; then export S3_BUCKET=builds-parity-published; else export S3_BUCKET=builds-parity; fi
- aws s3 rm --recursive s3://$S3_BUCKET/$CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/parity --body target/aarch64-unknown-linux-gnu/release/parity
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/parity.md5 --body parity.md5
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/"parity_"$VER"_arm64.deb" --body "parity_"$VER"_arm64.deb"
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/aarch64-unknown-linux-gnu/"parity_"$VER"_arm64.deb.md5" --body "parity_"$VER"_arm64.deb.md5"
Expand All @@ -312,22 +321,26 @@ darwin:
- stable
- triggers
script:
- export COMMIT=$(git rev-parse HEAD)
- export PLATFORM=x86_64-apple-darwin
- cargo build -j 8 --release #$CARGOFLAGS
- cargo build -j 8 --release -p ethstore #$CARGOFLAGS
- rm -rf parity.md5
- md5sum target/release/parity > parity.md5
- export SHA3=$(target/release/parity tools hash target/release/parity)
- packagesbuild -v mac/Parity.pkgproj
- export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
- mv target/release/Parity\ Ethereum.pkg "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg"
- md5sum "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg" >> "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg.md5"
- aws configure set aws_access_key_id $s3_key
- aws configure set aws_secret_access_key $s3_secret
- if [[ $CI_BUILD_REF_NAME =~ ^(master|beta|stable)$ ]]; then export S3_BUCKET=builds-parity-published; else export S3_BUCKET=builds-parity; fi
- aws s3 rm --recursive s3://$S3_BUCKET/$CI_BUILD_REF_NAME/x86_64-apple-darwin
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity --body target/release/parity
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/parity.md5 --body parity.md5
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/"parity-"$VER"-osx-installer-EXPERIMENTAL.pkg" --body "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg"
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/x86_64-apple-darwin/"parity-"$VER"-osx-installer-EXPERIMENTAL.pkg.md5" --body "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg.md5"
- aws s3 rm --recursive s3://$S3_BUCKET/$CI_BUILD_REF_NAME/$PLATFORM
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/parity --body target/release/parity
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/parity.md5 --body parity.md5
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/"parity-"$VER"-osx-installer-EXPERIMENTAL.pkg" --body "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg"
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME/$PLATFORM/"parity-"$VER"-osx-installer-EXPERIMENTAL.pkg.md5" --body "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg.md5"
- curl --data "commit=$CI_BUILD_REF&sha3=$SHA3&filename=parity&secret=$RELEASES_SECRET" http://icarus.parity.io/push-build/$CI_BUILD_REF_NAME/$PLATFORM
tags:
- osx
artifacts:
Expand All @@ -345,12 +358,14 @@ windows:
- stable
- triggers
script:
- set PLATFORM=x86_64-pc-windows-msvc
- set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\vs2015\VC\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
- set LIB=C:\vs2015\VC\lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64
- set RUST_BACKTRACE=1
- set RUSTFLAGS=%RUSTFLAGS%
- rustup default stable-x86_64-pc-windows-msvc
- cargo build --release #%CARGOFLAGS%
- FOR /F "delims=" %i IN ('target\release\parity.exe tools hash target\release\parity.exe') DO set SHA3=%i
- curl -sL --url "https://github.com/ethcore/win-build/raw/master/SimpleFC.dll" -o nsis\SimpleFC.dll
- curl -sL --url "https://github.com/ethcore/win-build/raw/master/vc_redist.x64.exe" -o nsis\vc_redist.x64.exe
- signtool sign /f %keyfile% /p %certpass% target\release\parity.exe
Expand Down Expand Up @@ -385,6 +400,7 @@ windows:
- aws s3api put-object --bucket %S3_BUCKET% --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/InstallParity.exe.md5 --body nsis\InstallParity.exe.md5
- aws s3api put-object --bucket %S3_BUCKET% --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/win-installer.zip --body nsis\win-installer.zip
- aws s3api put-object --bucket %S3_BUCKET% --key %CI_BUILD_REF_NAME%/x86_64-pc-windows-msvc/win-installer.zip.md5 --body nsis\win-installer.zip.md5
- curl --data "commit=$CI_BUILD_REF&sha3=%SHA3%&filename=parity.exe&secret=%RELEASES_SECRET%" http://icarus.parity.io/push-build/$CI_BUILD_REF_NAME/%PLATFORM%
tags:
- rust-windows
artifacts:
Expand All @@ -399,9 +415,10 @@ test-darwin:
- triggers
before_script:
- git submodule update --init --recursive
- export RUST_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep -v -e ^js -e ^\\. -e ^LICENSE -e ^README.md -e ^appveyor.yml -e ^test.sh -e ^windows/ -e ^scripts/ -e^mac/ -e ^nsis/ | wc -l)
script:
- export RUST_BACKTRACE=1
- ./test.sh $CARGOFLAGS
- if [ $RUST_FILES_MODIFIED -eq 0 ]; then echo "Skipping Rust tests since no Rust files modified."; else ./test.sh $CARGOFLAGS; fi
tags:
- osx
allow_failure: true
Expand All @@ -413,7 +430,7 @@ test-windows:
- git submodule update --init --recursive
script:
- set RUST_BACKTRACE=1
- cargo -j 8 test --features json-tests -p rlp -p ethash -p ethcore -p ethcore-bigint -p ethcore-dapps -p ethcore-rpc -p ethcore-signer -p ethcore-util -p ethcore-network -p ethcore-io -p ethkey -p ethstore -p ethsync -p ethcore-ipc -p ethcore-ipc-tests -p ethcore-ipc-nano -p parity %CARGOFLAGS% --verbose --release
- echo cargo test --features json-tests -p rlp -p ethash -p ethcore -p ethcore-bigint -p ethcore-dapps -p ethcore-rpc -p ethcore-signer -p ethcore-util -p ethcore-network -p ethcore-io -p ethkey -p ethstore -p ethsync -p ethcore-ipc -p ethcore-ipc-tests -p ethcore-ipc-nano -p parity %CARGOFLAGS% --verbose --release
tags:
- rust-windows
allow_failure: true
Expand Down Expand Up @@ -448,10 +465,10 @@ test-rust-beta:
image: ethcore/rust:beta
before_script:
- git submodule update --init --recursive
- export RUST_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep -v -e ^js -e ^\\. -e ^LICENSE -e ^README.md -e ^appveyor.yml -e ^test.sh -e ^windows/ -e ^scripts/ -e^mac/ -e ^nsis/ | wc -l)
script:
- export RUST_BACKTRACE=1
- echo $JS_FILES_MODIFIED
- ./test.sh $CARGOFLAGS
- if [ $RUST_FILES_MODIFIED -eq 0 ]; then echo "Skipping Rust tests since no Rust files modified."; else ./test.sh $CARGOFLAGS; fi
tags:
- rust
- rust-beta
Expand All @@ -463,9 +480,10 @@ test-rust-nightly:
image: ethcore/rust:nightly
before_script:
- git submodule update --init --recursive
- export RUST_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep -v -e ^js -e ^\\. -e ^LICENSE -e ^README.md -e ^appveyor.yml -e ^test.sh -e ^windows/ -e ^scripts/ -e^mac/ -e ^nsis/ | wc -l)
script:
- export RUST_BACKTRACE=1
- ./test.sh $CARGOFLAGS
- if [ $RUST_FILES_MODIFIED -eq 0 ]; then echo "Skipping Rust tests since no Rust files modified."; else ./test.sh $CARGOFLAGS; fi
tags:
- rust
- rust-nightly
Expand Down
Loading