-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
20 lines (20 loc) · 1.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: rust
matrix:
include:
- rust: nightly
env: TEST_SUITE=suite_nightly
script:
- cargo build --verbose
- cargo test --verbose
- if [ "$TEST_SUITE" = "suite_nightly" ]; then cargo bench --verbose; fi
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
global:
secure: oTPbc4GK5XlNcmguB4D7xXQ4W/PDjlbxsN8der0ouCF+2m//01RJL3jXMK6rDjXNm25E214ouzyJStg5iiW+OVck9QhBGpqNKREm4NJFNr1Yk0yOj+5s69a8mrgwId0o6e2nGDewFo0h/RZ+OqokJLABcNyk08tQ1wnDxJZUkANYNO/NwaEvMeVTMIyc2+0afzUgU46kbWDCILPS157CmoJGD3NajEgKK4vmiwfQt8loTmlU45i1nldOpDZX3uOCshyyyC3cVwOUKF2SiC9nd3xm4PceHZ3VRhZkd7IAA2U8KrGEyE+uyZ+9ip7znWExmHDvaz7szQ5knNQgI6M2CExeSTzQk5onWVMgHPS94g63dkI6qBd6NHAA+5TYl4itNY1euDZpcV3sdLCqZ0aXKX3NQ7kUj2CzN5bRaysf3b75wEY7dC0R/ie7hzFNrHI+cnE/MqN0ZkXjORR4YxYIv09V8k3dfNlRRSpU73g3GxsEVOmEjfw2SfTAw38dke+QAe+zMJCnHbeX+fQDa6SSvOi0jT1SzpGduC6/jAtsImf7PnpJVVXZkvv56mCQ6v4xSfD2jObeftpCwjsEoXj884E73jMCKgKuzoaRyE14CjGSpbFoGcO93Pkyh/GeO+0P1IZEA2t0K4RUL/UOetYkazibr4TB2eqdUfCPjBfRVpY=