Skip to content

Commit 3e0a3a0

Browse files
committed
Add travis config
1 parent 478dba2 commit 3e0a3a0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: rust
2+
script:
3+
- cargo build --verbose
4+
- cargo test --verbose
5+
- cargo doc
6+
after_success: |
7+
[ $TRAVIS_BRANCH = master ] &&
8+
[ $TRAVIS_PULL_REQUEST = false ] &&
9+
echo '<meta http-equiv=refresh content=0;url=rlibc/index.html>' > target/doc/index.html &&
10+
sudo pip install ghp-import &&
11+
ghp-import -n target/doc &&
12+
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
13+
14+
env:
15+
global:
16+
secure: fmrdn+5d+hOyU5q4hrrQFtgXhRyYHapkV/ArxazRFfH7MqKMkZi7GaenISofE/Z26zKCji0xXIV0iB/lheqh78husWUqKW8EfQvW6fB5+Axy7aUgy+GnzXOBUIe7oIPNC+Gbxa2jnMdNruN0zDEZK7w0t+xJ53mkO9QONOLqMLI=
17+
notifications:
18+
email:
19+
on_success: never

0 commit comments

Comments
 (0)