Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apache
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible
apache
Commits
9d23c682
Commit
9d23c682
authored
7 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Revert back to specified Tox testenv for each platform and specific one for pre-commit.
parent
3d4ac03a
Branches
master
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+9
-9
9 additions, 9 deletions
.travis.yml
tests/requirements.txt
+0
-1
0 additions, 1 deletion
tests/requirements.txt
tox.ini
+9
-7
9 additions, 7 deletions
tox.ini
with
18 additions
and
17 deletions
.travis.yml
+
9
−
9
View file @
9d23c682
...
...
@@ -9,14 +9,14 @@ env:
-
VBOX_MEMORY=2048
matrix
:
-
TOXENV=pre-commit
-
tox_switches="--platform
openbsd60
"
-
&openbsd59
tox_switches="--platform
openbsd59
"
-
tox_switches="--platform
xenial
"
-
tox_switches="--platform
trusty
"
-
tox_switches="--platform
precise
"
-
&stretch
tox_switches="--platform
stretch
"
-
tox_switches="--platform
jessie
"
-
tox_switches="--platform
wheezy
"
-
TOXENV=
openbsd60
-
&openbsd59
TOXENV=
openbsd59
-
TOXENV=
xenial
-
TOXENV=
trusty
-
TOXENV=
precise
-
&stretch
TOXENV=
stretch
-
TOXENV=
jessie
-
TOXENV=
wheezy
matrix
:
fast_finish
:
True
allow_failures
:
...
...
@@ -36,7 +36,7 @@ install:
-
pip install tox-travis | cat
script
:
-
travis_wait 45 tox
-- $tox_switches
-
travis_wait 45 tox
notifications
:
webhooks
:
https://galaxy.ansible.com/api/v1/notifications/
...
...
This diff is collapsed.
Click to expand it.
tests/requirements.txt
+
0
−
1
View file @
9d23c682
...
...
@@ -2,7 +2,6 @@ ansible==2.3.0.0
testinfra==1.5.5
molecule==1.23.2
ansible-lint==3.4.12
pre-commit==0.13.6
python-vagrant==0.5.14
netaddr==0.7.19
passlib==1.7.1
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
9
−
7
View file @
9d23c682
[tox]
skip_install
=
True
skipsdist
=
True
envlist
=
molecule
envlist
=
openbsd60,openbsd59,xenial,trusty,precise,stretch,jessie,wheezy
[testenv
:pre-commit
]
[testenv]
envdir
=
{toxinidir}/.tox
deps
=
-rtests/requirements.txt
passenv
=
HOME VBOX* ANSIBLE_*
...
...
@@ -11,15 +11,17 @@ whitelist_externals =
sh
commands
=
sh
-c
"ansible-galaxy
install
git+file://$(pwd),$(git
rev-parse
--abbrev-ref
HEAD)
-p
.molecule/roles"
molecule
dependency
pre-commit
run
--all-files
molecule
test
--platform
{envname}
[testenv]
[testenv
:pre-commit
]
envdir
=
{toxinidir}/.tox
deps
=
-rtests/requirements.txt
deps
=
-rtests/requirements.txt
pre-commit
passenv
=
HOME VBOX* ANSIBLE_*
whitelist_externals
=
sh
commands
=
sh
-c
"ansible-galaxy
install
git+file://$(pwd),$(git
rev-parse
--abbrev-ref
HEAD)
-p
.molecule/roles"
molecule
test
{posargs}
molecule
dependency
pre-commit
run
--all-files
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment