File tree 2 files changed +20
-18
lines changed
2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change
1
+ language : rust
1
2
env :
2
3
global :
3
- - secure : PUjDU++nskQf0ZqR4LiqsiPPmi03zSTY85/lzTe30j5P3QvA9vG/mFw3EzeEeo20Y0gXqNRwZwuSgVNFkwU+Mps7nIU6QRwqa/yCxM6z8wCpzUbZv58k3PGpkzetuCIBL0R18a+Q/E2GXvx6gJtC1G+0FJijy3XcaAQonC5ikTQ=
4
- - secure : jHaQxUCPsFgcVfGn1Gw+GX+3GrmJjXOpEfHfoaeHz03r58IIzYD1mFL1/QjCPR8nn2X1GCuUzFaJtYB/1xmgYC6HZP7kFBGkygBEt0Jiem/lru328WNRD3/j9wQi1OL6+cTcNcz0+4oTiwvctqA8p3OcuKCr+VDiQnspq+orLHM=
5
- install :
6
- - curl https://static.rust-lang.org/rustup.sh | sudo sh -
4
+ - secure : jHaQxUCPsFgcVfGn1Gw+GX+3GrmJjXOpEfHfoaeHz03r58IIzYD1mFL1/QjCPR8nn2X1GCuUzFaJtYB/1xmgYC6HZP7kFBGkygBEt0Jiem/lru328WNRD3/j9wQi1OL6+cTcNcz0+4oTiwvctqA8p3OcuKCr+VDiQnspq+orLHM=
5
+ # GH_TOKEN
7
6
script :
8
- - cargo build --verbose && cargo test --verbose && cargo doc --verbose && mv target/doc
9
- doc
10
- after_script :
11
- - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
12
- after_success :
13
- - [ $TRAVIS_BRANCH = master ] || exit
14
- - [ $TRAVIS_PULL_REQUEST = false ] || exit
15
- - cargo doc
16
- - echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html
17
- - sudo pip install ghp-import
18
- - ghp-import -n doc
19
- - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
7
+ - cargo build --verbose
8
+ - cargo test --verbose
9
+ - cargo doc --verbose
10
+ - mv target/doc doc
11
+
12
+ # [ $TRAVIS_BRANCH = master ] &&
13
+ after_success : |
14
+ [ $TRAVIS_PULL_REQUEST = false ] &&
15
+ echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html &&
16
+ pip install ghp-import --user $USER &&
17
+ $HOME/.local/bin/ghp-import -n doc &&
18
+ git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
19
+ notifications :
20
+ email :
21
+ on_success : never
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " primes"
4
- version = " 0.1.5 "
4
+ version = " 0.1.6 "
5
5
authors = [" Wendell Smith <wendellwsmith@gmail.com>" ]
6
6
license =" BSD-3-Clause"
7
7
@@ -14,6 +14,6 @@ number is prime and calculating factors. Includes an iterator over all primes.
14
14
15
15
readme =" README.md"
16
16
17
- documentation = " http ://rust-ci.org/ wackywendell/primes/doc /primes/"
17
+ documentation = " https ://wackywendell.github.io /primes/"
18
18
homepage = " https://github.com/wackywendell/primes/tree/master"
19
19
repository = " https://github.com/wackywendell/primes/tree/master"
You can’t perform that action at this time.
0 commit comments