Skip to content

Commit

Permalink
Update site only on master
Browse files Browse the repository at this point in the history
(Don’t update the site on pull requests to master.)
  • Loading branch information
suchow committed Mar 7, 2016
1 parent ed88951 commit f58c263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -20,14 +20,14 @@ script:
- pep8 .
- pep257 . --match='.*\.py'
- nosetests --with-coverage --cover-package proselint
- if [ "$TRAVIS_BRANCH" == "master" ]; then
- if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]; then
python scripts/insert_demo.py;
cd site;
jekyll build;
s3_website push;
cd ..;
check-links "http://proselint.com";
fi
- check-links "http://proselint.com"
after_success:
- coveralls
env:
Expand Down

0 comments on commit f58c263

Please sign in to comment.