Killed travis and appveyor
This commit is contained in:
parent
1a8ce3e1f3
commit
dbafbc29be
85
.travis.yml
85
.travis.yml
@ -1,85 +0,0 @@
|
|||||||
sudo: required
|
|
||||||
dist: trusty
|
|
||||||
language: rust
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- /^beta-.*$/
|
|
||||||
- /^stable-.*$/
|
|
||||||
- /^beta$/
|
|
||||||
- /^stable$/
|
|
||||||
|
|
||||||
git:
|
|
||||||
depth: 3
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- rust: stable
|
|
||||||
env: RUN_TESTS="true" TEST_OPTIONS=""
|
|
||||||
- rust: stable
|
|
||||||
env: RUN_COVERAGE="true"
|
|
||||||
- rust: stable
|
|
||||||
env: RUN_DOCS="true"
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- CXX="g++-4.8"
|
|
||||||
- CC="gcc-4.8"
|
|
||||||
- RUST_BACKTRACE="1"
|
|
||||||
- RUN_TESTS="false"
|
|
||||||
- RUN_COVERAGE="false"
|
|
||||||
- RUN_DOCS="false"
|
|
||||||
- TEST_OPTIONS=""
|
|
||||||
- RUSTFLAGS="-D warnings"
|
|
||||||
- TRAVIS_NODE_VERSION="6"
|
|
||||||
# GH_TOKEN for documentation
|
|
||||||
- secure: bumJASbZSU8bxJ0EyPUJmu16AiV9EXOpyOj86Jlq/Ty9CfwGqsSXt96uDyE+OUJf34RUFQMsw0nk37/zC4lcn6kqk2wpuH3N/o85Zo/cVZY/NusBWLQqtT5VbYWsV+u2Ua4Tmmsw8yVYQhYwU2ZOejNpflL+Cs9XGgORp1L+/gMRMC2y5Se6ZhwnKPQlRJ8LGsG1dzjQULxzADIt3/zuspNBS8a2urJwlHfGMkvHDoUWCviP/GXoSqw3TZR7FmKyxE19I8n9+iSvm9+oZZquvcgfUxMHn8Gq/b44UbPvjtFOg2yam4xdWXF/RyWCHdc/R9EHorSABeCbefIsm+zcUF3/YQxwpSxM4IZEeH2rTiC7dcrsKw3XsO16xFQz5YI5Bay+CT/wTdMmJd7DdYz7Dyf+pOvcM9WOf/zorxYWSBOMYy0uzbusU2iyIghQ82s7E/Ahg+WARtPgkuTLSB5aL1oCTBKHqQscMr7lo5Ti6RpWLxEdTQMBznc+bMr+6dEtkEcG9zqc6cE9XX+ox3wTU6+HVMfQ1ltCntJ4UKcw3A6INEbw9wgocQa812CIASQ2fE+SCAbz6JxBjIAlFUnD1lUB7S8PdMPwn9plfQgKQ2A5YZqg6FnBdf0rQXIJYxQWKHXj/rBHSUCT0tHACDlzTA+EwWggvkP5AGIxRxm8jhw=
|
|
||||||
- KCOV_CMD="./kcov-master/tmp/usr/local/bin/kcov"
|
|
||||||
|
|
||||||
cache:
|
|
||||||
apt: true
|
|
||||||
directories:
|
|
||||||
- $TRAVIS_BUILD_DIR/target
|
|
||||||
- $TRAVIS_BUILD_DIR/kcov-master
|
|
||||||
- $TRAVIS_BUILD_DIR/js/node_modules
|
|
||||||
- $HOME/.cargo
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
packages:
|
|
||||||
- libcurl4-openssl-dev
|
|
||||||
- libelf-dev
|
|
||||||
- libdw-dev
|
|
||||||
- gcc-4.8
|
|
||||||
- g++-4.8
|
|
||||||
|
|
||||||
install:
|
|
||||||
- ([ "$RUN_COVERAGE" = "false" ]) || (test -x $KCOV_CMD) || (
|
|
||||||
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
|
|
||||||
tar xzf master.tar.gz &&
|
|
||||||
mkdir -p kcov-master/build &&
|
|
||||||
cd kcov-master/build &&
|
|
||||||
cmake .. &&
|
|
||||||
make && make install DESTDIR=../tmp &&
|
|
||||||
cd
|
|
||||||
)
|
|
||||||
- nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION && ./js/scripts/install-deps.sh
|
|
||||||
|
|
||||||
script:
|
|
||||||
- if [ "$RUN_TESTS" = "true" ]; then
|
|
||||||
./js/scripts/lint.sh &&
|
|
||||||
travis_wait 40 ./test.sh $TEST_OPTIONS;
|
|
||||||
fi
|
|
||||||
- if [ "$RUN_COVERAGE" = "true" ]; then ./scripts/cov.sh "$KCOV_CMD"; fi
|
|
||||||
|
|
||||||
after_success: |
|
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
||||||
[ "$RUN_DOCS" = "true" ] &&
|
|
||||||
./scripts/doc.sh &&
|
|
||||||
pip install --user ghp-import &&
|
|
||||||
/home/travis/.local/bin/ghp-import -n target/doc &&
|
|
||||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
|
@ -13,8 +13,6 @@ parity.js [![Join the chat at https://gitter.im/ethcore/parity.js](https://badge
|
|||||||
|
|
||||||
Be sure to check out [our wiki][wiki-url] for more information.
|
Be sure to check out [our wiki][wiki-url] for more information.
|
||||||
|
|
||||||
[travis-image]: https://travis-ci.org/ethcore/parity.svg?branch=master
|
|
||||||
[travis-url]: https://travis-ci.org/ethcore/parity
|
|
||||||
[coveralls-image]: https://coveralls.io/repos/github/ethcore/parity/badge.svg?branch=master
|
[coveralls-image]: https://coveralls.io/repos/github/ethcore/parity/badge.svg?branch=master
|
||||||
[coveralls-url]: https://coveralls.io/github/ethcore/parity?branch=master
|
[coveralls-url]: https://coveralls.io/github/ethcore/parity?branch=master
|
||||||
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
|
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
|
||||||
|
52
appveyor.yml
52
appveyor.yml
@ -1,52 +0,0 @@
|
|||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- TARGET: x86_64-pc-windows-msvc
|
|
||||||
cert:
|
|
||||||
secure: ESPpYVVAMG1fbJx6kq4ct/g9SQTXac4Hs6xXr6Oh4Zrk2dwYglNjxmzErdPnvu7gs/gekzrJ6KEQHYRc+5+4dKg6rRADQ681NLVx9vOggBs=
|
|
||||||
certpass:
|
|
||||||
secure: 0BgXJqxq9Ei34/hZ7121FQ==
|
|
||||||
keyfile: C:\users\appveyor\Certificates.p12
|
|
||||||
RUSTFLAGS: -D warnings
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- /^beta-.*$/
|
|
||||||
- /^stable-.*$/
|
|
||||||
- /^beta$/
|
|
||||||
- /^stable$/
|
|
||||||
|
|
||||||
install:
|
|
||||||
- git submodule update --init --recursive
|
|
||||||
- ps: Install-Product node 6
|
|
||||||
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.14.0-x86_64-pc-windows-msvc.exe"
|
|
||||||
- ps: Start-FileDownload "https://github.com/ethcore/win-build/raw/master/SimpleFC.dll" -FileName nsis\SimpleFC.dll
|
|
||||||
- ps: Start-FileDownload "https://github.com/ethcore/win-build/raw/master/vc_redist.x64.exe" -FileName nsis\vc_redist.x64.exe
|
|
||||||
- rust-1.14.0-x86_64-pc-windows-msvc.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
|
||||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin;C:\Program Files (x86)\NSIS;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin
|
|
||||||
- rustc -V
|
|
||||||
- cargo -V
|
|
||||||
- node -v
|
|
||||||
- npm -v
|
|
||||||
|
|
||||||
build: off
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- cargo test --verbose --release
|
|
||||||
|
|
||||||
after_test:
|
|
||||||
- cargo build --verbose --release
|
|
||||||
- ps: if($env:cert) { Start-FileDownload $env:cert -FileName $env:keyfile }
|
|
||||||
- ps: if($env:cert) { signtool sign /f $env:keyfile /p $env:certpass target\release\parity.exe }
|
|
||||||
- msbuild windows\ptray\ptray.vcxproj /p:Platform=x64 /p:Configuration=Release
|
|
||||||
- ps: if($env:cert) { signtool sign /f $env:keyfile /p $env:certpass windows\ptray\x64\release\ptray.exe }
|
|
||||||
- makensis.exe nsis\installer.nsi
|
|
||||||
- ps: if($env:cert) { signtool sign /f $env:keyfile /p $env:certpass nsis\installer.exe }
|
|
||||||
|
|
||||||
artifacts:
|
|
||||||
- path: nsis\installer.exe
|
|
||||||
name: Windows Installer (x86_64)
|
|
||||||
|
|
||||||
cache:
|
|
||||||
- target
|
|
||||||
- C:\users\appveyor\.cargo -> appveyor.yml
|
|
Loading…
Reference in New Issue
Block a user