cargo/.travis.yml

28 lines
703 B
YAML
Raw Normal View History

2014-06-18 20:36:49 +00:00
language: rust
install:
- sh ./.travis.install.deps.sh
2014-06-18 20:36:49 +00:00
script:
2014-07-30 01:11:51 +00:00
- ./configure --local-rust-root=`pwd`/rustc
- make
2014-07-30 01:11:51 +00:00
- make test
- make distcheck
- make doc
2014-08-21 16:54:53 +00:00
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $(uname -s) = Linux ] &&
2014-08-21 18:34:05 +00:00
sudo pip install ghp-import &&
ghp-import -n target/doc &&
2014-08-21 16:54:53 +00:00
git push -f https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
2014-06-18 20:36:49 +00:00
env:
2014-08-21 16:54:53 +00:00
global:
- secure: scGpeetUfba5RWyuS4yt10bPoFAI9wpHEReIFqEx7eH5vr2Anajk6+70jW6GdrWVdUvdINiArlQ3An2DeB9vEUWcBjw8WvuPtOH0tDMoSsuVloPlFD8yn1Ac0Bx9getAO5ofxqtoNg+OV4MDVuGabEesqAOWqURNrBC7XK+ntC8=
- RUST_TEST_THREADS=1
2014-06-18 20:36:49 +00:00
os:
- linux
- osx
branches:
only:
- master