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 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: