Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
ci: install deps in install and build docs in script
Browse files Browse the repository at this point in the history
  • Loading branch information
daveenguyen committed Mar 23, 2019
1 parent da7078a commit eb60f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ before_install:
- before_install
- set +e # undo set -e from multibuild
install:
- python -m pip install -U pip tox flit
- python -m pip install -U pip tox flit python-semantic-release
script:
- flit build
- tox --installpkg dist/*.whl
- bash scripts/build-docs-prod.sh
after_failure:
- screencapture .env/screen.png
- ".env/imgur.sh/imgur.sh .env/screen.png"
after_success:
- bash scripts/build-docs-prod.sh
deploy:
- provider: script
skip_cleanup: true
Expand Down
1 change: 0 additions & 1 deletion scripts/deploy-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ if [[ $TRAVIS_BRANCH = "master" ]]; then
rm -rfv dist/*
git config --global user.name "semantic-release (via TravisCI)"
git config --global user.email "semantic-release@travis"
pip install python-semantic-release
if semantic-release version --noop | grep bumped; then
echo "Deploying"
semantic-release publish
Expand Down

0 comments on commit eb60f02

Please sign in to comment.