Skip to content

Commit

Permalink
Travis CI: limit concurrent jobs to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Aug 31, 2017
1 parent 0ca79ba commit fbea618
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ TRAVIS_ENCRYPT_ID=`grep \
sed --in-place "s/f2f00aaf6402/$TRAVIS_ENCRYPT_ID/g" deploy.sh
```

Next, limit [concurrent](https://blog.travis-ci.com/2014-07-18-per-repository-concurrency-setting/) Travis CI jobs to ensure previous builds deploy before subsequent ones begin:

```sh
travis settings \
--repo=$OWNER/$REPO \
maximum_number_of_builds --set 1
```

The continuous integration configuration is now complete.
Clean up:

Expand Down

0 comments on commit fbea618

Please sign in to comment.