forked from celiagg/celiagg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 1.44 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
36
37
38
39
40
41
42
43
language: generic
branches:
only:
- master
- /^(\d+\.)(\d+\.)(\d+)((a|b|rc)\d+)?$/
matrix:
include:
- os: linux
env: BUILD_TYPE="test" PYTHON="2.7" MINICONDA_OS="Linux" BUILD_ARGS=""
- os: linux
env: BUILD_TYPE="test" PYTHON="3.5" MINICONDA_OS="Linux" BUILD_ARGS=""
- os: linux
env: BUILD_TYPE="test" PYTHON="3.6" MINICONDA_OS="Linux" BUILD_ARGS=""
- os: linux
env: BUILD_TYPE="test" PYTHON="3.5" MINICONDA_OS="Linux" BUILD_ARGS="--install-option --no-text-rendering"
- os: osx
env: BUILD_TYPE="test" PYTHON="2.7" MINICONDA_OS="MacOSX" BUILD_ARGS=""
- os: osx
env: BUILD_TYPE="test" PYTHON="3.5" MINICONDA_OS="MacOSX" BUILD_ARGS=""
- os: osx
env: BUILD_TYPE="test" PYTHON="3.6" MINICONDA_OS="MacOSX" BUILD_ARGS=""
- sudo: required
services:
- docker
env:
- BUILD_TYPE="package"
- DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- TWINE_USERNAME=jwiggins
# TWINE_PASSWORD is in Travis settings
before_install:
- if [[ $BUILD_TYPE == "test" ]]; then ./ci/test-before-install.sh; fi
install:
- if [[ $BUILD_TYPE == "test" ]]; then ./ci/test-install.sh; fi
- if [[ $BUILD_TYPE == "package" && -n $TRAVIS_TAG ]]; then docker pull $DOCKER_IMAGE; fi
script:
- if [[ $BUILD_TYPE == "test" ]]; then ./ci/test-run.sh; fi
- if [[ $BUILD_TYPE == "package" && -n $TRAVIS_TAG ]]; then ./ci/build-run.sh; fi
notifications:
email: false