This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,4 +1,4 @@ | |
-sudo: false | |
+dist: xenial | |
language: python | |
cache: pip | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matrix: | |
include: | |
- python: '3.7' | |
env: COVERAGE=1 | |
- python: '3.6' | |
- python: '3.5' | |
- python: '2.7' | |
env: COVERAGE=1 | |
script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matrix: | |
include: | |
- elixir: '1.6' | |
- elixir: '1.7' | |
- elixir: '1.8' | |
script: | |
- mix test | |
# Inch 2.0 only works on Elixir >= 1.7 | |
- '[[ "$TRAVIS_ELIXIR_VERSION" = 1.6 ]] || mix inch.report' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -17,3 +17,18 @@ | |
- python: '3.7' | |
- python: '3.6' | |
- python: '3.5' | |
+ | |
+ - stage: release | |
+ if: tag IS present | |
+ deploy: | |
+ provider: pypi | |
+ user: praekelt.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
include: | |
- python: '3.7' | |
- python: '3.6' | |
- python: '3.5' | |
- stage: release | |
if: tag IS present | |
deploy: | |
provider: pypi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dist: xenial | |
services: | |
- docker | |
language: bash | |
env: | |
global: | |
- IMAGE_TAG=praekeltorg/mysite | |
- REGISTRY_USER=praekeltorg-automation | |
- secret: <REGISTRY_PASS encrypted> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
language: python | |
services: | |
- postgresql | |
before_install: | |
- pip install --upgrade pip | |
install: | |
- pip install -r requirements/dev.txt | |
script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
branches: | |
only: | |
- master | |
# These two bits of YAML are equivalent, but one is shorter | |
--- | |
branches: {only: [master]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after_script: | |
- | | |
lockfile="puppet/$ENVIRONEMT/Puppetfile.lock" | |
if [[ $(git status -s "$lockfile") ]]; then | |
echo "The librarian-puppet lockfile ($lockfile) has changes." | |
echo 'Please run `bundle exec rake module_install` and commit the changes.' | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dist: xenial | |
language: python | |
cache: pip | |
before_install: | |
- pip install --upgrade pip | |
install: | |
- pip install -r requirements/dev.txt | |
- pip install codecov | |
script: |
NewerOlder