Skip to content

Commit 26039a6

Browse files
committed
Workaroudn for python 3.5 as beautilful-soup is not yet in conda for 3.5
1 parent df81734 commit 26039a6

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.travis.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ python:
1616
- 2.7
1717
- 3.3
1818
- 3.4
19-
- 3.5
2019

2120
env:
2221
global:
@@ -37,6 +36,14 @@ env:
3736
matrix:
3837
include:
3938

39+
# Test for py 3.5 (move this up to the main matrix once beautiful-soup is in conda)
40+
- python: 3.5
41+
env: SETUP_CMD='egg_info'
42+
- python: 3.5
43+
env: SETUP_CMD='test'
44+
CONDA_DEPENDENCIES='requests matplotlib html5lib'
45+
PIP_DEPENDENCIES='keyring aplpy pyregion beautifulsoup4'
46+
4047
# Do a coverage test in Python 2.
4148
- python: 2.7
4249
env: SETUP_CMD='test --coverage'
@@ -51,10 +58,14 @@ matrix:
5158
env: ASTROPY_VERSION=development SETUP_CMD='test'
5259
- python: 3.5
5360
env: ASTROPY_VERSION=development SETUP_CMD='test'
61+
CONDA_DEPENDENCIES='requests matplotlib html5lib'
62+
PIP_DEPENDENCIES='keyring aplpy pyregion beautifulsoup4'
5463
- python: 2.7
5564
env: ASTROPY_VERSION=lts SETUP_CMD='test'
5665
- python: 3.5
5766
env: ASTROPY_VERSION=lts SETUP_CMD='test'
67+
CONDA_DEPENDENCIES='requests matplotlib html5lib'
68+
PIP_DEPENDENCIES='keyring aplpy pyregion beautifulsoup4'
5869

5970
# Try with optional dependencies disabled
6071
- python: 2.7
@@ -63,8 +74,8 @@ matrix:
6374
PIP_DEPENDENCIES='keyring'
6475
- python: 3.5
6576
env: SETUP_CMD='test'
66-
CONDA_DEPENDENCIES='requests beautiful-soup html5lib'
67-
PIP_DEPENDENCIES='keyring'
77+
CONDA_DEPENDENCIES='requests html5lib'
78+
PIP_DEPENDENCIES='keyring beautifulsoup4'
6879

6980
# Try older numpy versions
7081
- python: 2.7

0 commit comments

Comments
 (0)