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

Commit

Permalink
ci: shallow clone and set +e to fix after_failure
Browse files Browse the repository at this point in the history
multibuild set -e so when build fails it exits without running after_failure
  • Loading branch information
daveenguyen committed Mar 23, 2019
1 parent af56ce5 commit b94e4f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ before_install:
INTO "access" (service, client, client_type, allowed, prompt_count) VALUES("kTCCServiceAccessibility","/Users/travis/runner.rb",1,1,0)'
|| true
- mkdir .env
- git clone https://github.com/matthew-brett/multibuild .env/multibuild
- git clone https://github.com/tremby/imgur.sh .env/imgur.sh
- git clone --depth=1 https://github.com/matthew-brett/multibuild .env/multibuild
- git clone --depth=1 https://github.com/tremby/imgur.sh .env/imgur.sh
- chmod +x .env/imgur.sh/imgur.sh
- source .env/multibuild/common_utils.sh
- source .env/multibuild/travis_steps.sh
- before_install
- set +e # undo set -e from multibuild
install:
- python -m pip install -U pip tox flit
script:
Expand Down

0 comments on commit b94e4f0

Please sign in to comment.