Skip to content

Commit

Permalink
🤖 sync with cloudalchemy/skeleton (SHA: 69fc5be8): Merge pull request #4
Browse files Browse the repository at this point in the history
 from cloudalchemy/travis_fix (#31)
  • Loading branch information
cloudalchemybot authored and mergify[bot] committed Jan 13, 2020
1 parent f524e39 commit 3e7f38a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
os: linux
dist: xenial
sudo: required
language: python
python:
- 3.7
Expand All @@ -11,15 +11,13 @@ env:
- ANSIBLE=2.7
- ANSIBLE=2.8
- ANSIBLE=2.9
matrix:
fast_finish: true
install:
- pip3 install tox-travis git-semver
script:
- ./.travis/test.sh
deploy:
provider: script
skip_cleanup: true
cleanup: true
script: .travis/releaser.sh
on:
branch: master
Expand Down
5 changes: 0 additions & 5 deletions .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

set -euo pipefail

if [ ! -d "./molecule/latest" ]; then
tox -- molecule test --all
exit 0
fi

if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
tox -- molecule test --all --destroy always
else
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
minversion = 1.8
envlist = py3-ansible{27,28,29}
basepython = python3.7
envlist = py37-ansible{27,28,29}
skipsdist = true

[travis:env]
Expand Down

0 comments on commit 3e7f38a

Please sign in to comment.