Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from azuqua/develop
Browse files Browse the repository at this point in the history
no sudo
  • Loading branch information
aembke committed Mar 24, 2017
2 parents e6a5743 + 571de7c commit 1ee6d86
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ notifications:
on_success: never
on_failure: never
sudo: false
branches:
only:
- master
- develop
node_js:
- '7'
- '6'
Expand All @@ -20,11 +24,13 @@ after_script:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo "Building docs for GH pages..." &&
grunt docs &&
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > doc/index.html &&
sudo pip install ghp-import &&
pip install ghp-import &&
ghp-import -n doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
echo "Finished building docs for GH pages."
env:
global:
- CXX=g++-4.8
Expand Down

0 comments on commit 1ee6d86

Please sign in to comment.