-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
20 lines (20 loc) · 969 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: rust
script:
- cargo build --verbose
- #cargo test --verbose # disabling for now
- rustdoc --test README.md -L target
- cargo doc
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=luar/index.html>' > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
rm target/doc/index.html &&
mv target/doc . &&
(curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh)
env:
matrix:
- secure: VzV03AuijmATeeJB0o0VHNsjRbgm8tI/aR50W39HU4lkmWJStcv/i5IwINHSaLltXc1vX8xp1dncr3/xt5FhbrdtlraeUmI5HakvhDiolvVnAakBM1iws1I8EDi8Olp/6KULAa/iVYdF5Eppp9LLm15ZA2tagAxrvT62LVLtFqg=
- secure: EvjCcAcDvVis+rCB3rshIu+1mB5UN7FvF3TYdJ8vc51Q8reNG00qLcgIpQEb3qw2JEWf6sjp1xfWoVryOsa5rBY8R4TmZOeNXwXHPEN6/jga7sAdMA8W55nCjfRRN34yv/aFdYW+rtxWOM/0Vd6/j2Eru8A+8Tc/aSkLQYHGtOE=