Use CI scripts from separate repository

pull/4/head
Diego Barrios Romero 2018-11-18 17:23:38 +01:00
parent 0451dbb239
commit 7891a53705
1 changed files with 5 additions and 8 deletions

View File

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