mirror of https://github.com/eldruin/ds323x-rs
Use CI scripts from separate repository
parent
0451dbb239
commit
7891a53705
13
.travis.yml
13
.travis.yml
|
@ -1,11 +1,10 @@
|
||||||
language: rust
|
language: rust
|
||||||
# sudo is required to enable kcov to use the personality syscall
|
# sudo is required to enable kcov to use the personality syscall
|
||||||
sudo: required
|
sudo: required
|
||||||
|
env: CI_SCRIPTS="https://github.com/eldruin/rust-driver-ci-scripts/raw/master"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- eval git pull --rebase https://github.com/eldruin/ds323x-rs master
|
bash <(curl -s $CI_SCRIPTS/global_before_script.sh)
|
||||||
- eval git log --pretty=oneline HEAD~5..HEAD
|
|
||||||
- export PATH=$HOME/.cargo/bin:$PATH
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -56,10 +55,10 @@ before_install:
|
||||||
- rustup self update
|
- rustup self update
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- bash ci/install.sh
|
bash <(curl -s $CI_SCRIPTS/install.sh)
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bash ci/script.sh
|
bash <(curl -s $CI_SCRIPTS/script.sh)
|
||||||
|
|
||||||
after_script: set +e
|
after_script: set +e
|
||||||
|
|
||||||
|
@ -69,9 +68,7 @@ cache:
|
||||||
- /home/travis/.cargo
|
- /home/travis/.cargo
|
||||||
|
|
||||||
before_cache:
|
before_cache:
|
||||||
# Travis can't cache files that are not readable by "others"
|
bash <(curl -s $CI_SCRIPTS/before_cache.sh)
|
||||||
- chmod -R a+r $HOME/.cargo
|
|
||||||
- rm -rf /home/travis/.cargo/registry
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in New Issue