View .travis.yml.diff
@@ -1,4 +1,4 @@ | |
-sudo: false | |
+dist: xenial | |
language: python | |
cache: pip | |
View .travis.yml
matrix: | |
include: | |
- python: '3.7' | |
env: COVERAGE=1 | |
- python: '3.6' | |
- python: '3.5' | |
- python: '2.7' | |
env: COVERAGE=1 | |
script: |
View .travis.yml
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' |
View .travis.yml.diff
@@ -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 |
View .travis.yml
jobs: | |
include: | |
- python: '3.7' | |
- python: '3.6' | |
- python: '3.5' | |
- stage: release | |
if: tag IS present | |
deploy: | |
provider: pypi |
View .travis.yml
dist: xenial | |
services: | |
- docker | |
language: bash | |
env: | |
global: | |
- IMAGE_TAG=praekeltorg/mysite | |
- REGISTRY_USER=praekeltorg-automation | |
- secret: <REGISTRY_PASS encrypted> |
View .travis.yml
--- | |
language: python | |
services: | |
- postgresql | |
before_install: | |
- pip install --upgrade pip | |
install: | |
- pip install -r requirements/dev.txt | |
script: |
View .travis.yml
--- | |
branches: | |
only: | |
- master | |
# These two bits of YAML are equivalent, but one is shorter | |
--- | |
branches: {only: [master]} |
View .travis.yml
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 |
View .travis.yml
dist: xenial | |
language: python | |
cache: pip | |
before_install: | |
- pip install --upgrade pip | |
install: | |
- pip install -r requirements/dev.txt | |
- pip install codecov | |
script: |
NewerOlder