Skip to content

Commit a36c7c8

Browse files
committed
Reorganize .travis.yml for clarity.
Originally part of galaxyproject#821. I can't tell why that branch seems to be so much less stable than Planemo's master branch on Travis - I'd like to rule out something to do with the handling of these environment variables.
1 parent 9811e64 commit a36c7c8

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

.travis.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@ language: python
22
sudo: false
33
python: 2.7
44
env:
5-
- TOX_ENV=py27-lint
6-
- TOX_ENV=py34-lint
7-
- TOX_ENV=py27-lint-readme
8-
- TOX_ENV=py27-lint-docs
9-
- TOX_ENV=py34-quick
10-
- TOX_ENV=py27
11-
- TOX_ENV=py34
12-
- TOX_ENV=py34-gx-1801
13-
- TOX_ENV=py34-gx-dev
14-
- TOX_ENV=py34-gx-1709
15-
- TOX_ENV=py27-lint-docstrings
5+
global:
6+
- PLANEMO_SKIP_REDUNDANT_TESTS=1
7+
- PLANEMO_ENABLE_POSTGRES_TESTS=1
8+
- PLANEMO_SKIP_GALAXY_CWL_TESTS=1
9+
- PLANEMO_TEST_WORKFLOW_RUN_PROFILE=travisworkflowtests
10+
matrix:
11+
- TOX_ENV=py27-lint
12+
- TOX_ENV=py34-lint
13+
- TOX_ENV=py27-lint-readme
14+
- TOX_ENV=py27-lint-docs
15+
- TOX_ENV=py34-quick
16+
- TOX_ENV=py27
17+
- TOX_ENV=py34
18+
- TOX_ENV=py34-gx-1801
19+
- TOX_ENV=py34-gx-dev
20+
- TOX_ENV=py34-gx-1709
21+
- TOX_ENV=py27-lint-docstrings
1622

1723
install:
1824
- pip install tox coveralls
@@ -21,10 +27,10 @@ matrix:
2127
allow_failures:
2228
- env: TOX_ENV=py27-lint-docstrings
2329

24-
script: PLANEMO_SKIP_REDUNDANT_TESTS=1 PLANEMO_ENABLE_POSTGRES_TESTS=1 PLANEMO_SKIP_GALAXY_CWL_TESTS=1 PLANEMO_TEST_WORKFLOW_RUN_PROFILE=travisworkflowtests tox -e $TOX_ENV
30+
script: tox -e $TOX_ENV
2531

2632
after_success:
2733
- coveralls
2834

2935
services:
30-
- postgresql
36+
- postgresql

0 commit comments

Comments
 (0)