forked from EpistasisLab/tpot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.58 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: python
matrix:
# let's start simple:
include:
- name: "Python 3.7 on Xenial Linux"
dist: xenial # required for Python >= 3.7
env: PYTHON_VERSION="3.7" DASK_ML_VERSION="0.13.0"
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- name: "Python 3.7 on Xenial Linux with coverage"
dist: xenial # required for Python >= 3.7
env: PYTHON_VERSION="3.7" COVERAGE="true" DASK_ML_VERSION="0.13.0"
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- name: "Python 2.7 on Xenial Linux"
dist: xenial
env: PYTHON_VERSION="2.7" DASK_ML_VERSION="0.12.0"
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
env: PYTHON_VERSION="3.7" DASK_ML_VERSION="0.13.0"
before_install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
install: source ./ci/.travis_install.sh
script: bash ./ci/.travis_test.sh
after_success:
# Ignore coveralls failures as the coveralls server is not very reliable
# but we don't want travis to report a failure in the github UI just
# because the coverage report failed to be published.
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
cache: apt
sudo: false