Skip to content

Commit

Permalink
Merge bb0cf90 into 42ccf55
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyod committed Mar 29, 2019
2 parents 42ccf55 + bb0cf90 commit 15a1d7d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 15 deletions.
44 changes: 30 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,41 @@ env:
global:
PIP_PREFER_BINARY=true # https://github.com/numba/llvmlite/issues/471

python:
- "2.7"
# - "3.3" # failed due to setuptool version
# - "3.4" # failed due to numba (llvmlite)
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
matrix:
include:

- os: linux
sudo: required
services: docker
python: '2.7'

# - "3.3" # failed due to setuptool version
# - "3.4" # failed due to numba (llvmlite)

- os: linux
sudo: required
services: docker
python: '3.5'

- os: linux
sudo: required
services: docker
python: '3.6'

- os: linux
dist: xenial
sudo: required
services: docker
python: '3.7'


install:
- pip install --upgrade pip
- pip install -r requirements_ci.txt
- pip install pytest
- pip install pytest-cov
- pip install coveralls

# command to run tests
script:
pytest --cov=pyod/
# Show the 20 slowest running tests
- pytest --cov=pyod/ --durations=20

after_success:
- coveralls
Expand All @@ -32,4 +48,4 @@ notifications:
recipients:
- yzhao062@gmail.com
on_success: never # default: change
on_failure: always # default: always
on_failure: always # default: always
6 changes: 5 additions & 1 deletion requirements_ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ numba>=0.35
scipy==1.1.0
scikit_learn>=0.19.1
tensorflow
xgboost>=0.7
xgboost>=0.7
pytest>=3.6
pytest-cov
coveralls

0 comments on commit 15a1d7d

Please sign in to comment.