2014-06-18 20:36:49 +00:00
|
|
|
language: rust
|
|
|
|
install:
|
2014-06-25 23:31:57 +00:00
|
|
|
- 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
|
2014-06-25 23:31:57 +00:00
|
|
|
- make
|
2014-07-30 01:11:51 +00:00
|
|
|
- make test
|
|
|
|
- make distcheck
|
2014-09-07 17:53:20 +00:00
|
|
|
- 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 &&
|
2014-09-07 17:53:20 +00:00
|
|
|
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:
|
2015-04-29 16:42:29 +00:00
|
|
|
- secure: scGpeetUfba5RWyuS4yt10bPoFAI9wpHEReIFqEx7eH5vr2Anajk6+70jW6GdrWVdUvdINiArlQ3An2DeB9vEUWcBjw8WvuPtOH0tDMoSsuVloPlFD8yn1Ac0Bx9getAO5ofxqtoNg+OV4MDVuGabEesqAOWqURNrBC7XK+ntC8=
|
|
|
|
- RUST_TEST_THREADS=1
|
2014-06-18 20:36:49 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2014-08-27 02:49:57 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|