File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
+ sudo : false
2
3
script :
3
4
- cargo build --verbose
4
5
- cargo test --verbose
@@ -7,10 +8,9 @@ after_success: |
7
8
[ $TRAVIS_BRANCH = master ] &&
8
9
[ $TRAVIS_PULL_REQUEST = false ] &&
9
10
echo '<meta http-equiv=refresh content=0;url=glob/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
-
11
+ pip install ghp-import --user $USER &&
12
+ $HOME/.local/bin/ghp-import -n target/doc &&
13
+ git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
14
14
env :
15
15
global :
16
16
secure : I3a1njiqfFW9TpMKB715bpq3qHmsSmue/ahYbXhYbRoskWDWk+ruSKHS/X3nvSXY2Vv9oBCFaWldQvKdPtbpLYlfnIfquvUSzGzT3BW8bOAU6EY6+MQiToDln+xlcfjlSqBF4RGyrZtmuXzC1xXPKotG6jfUT1+7iOgaXLxyaRU=
You can’t perform that action at this time.
0 commit comments