-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
35 lines (31 loc) · 1.13 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
# The configurations you want to execute
# That is, a combination of operating system and python version
# Please add or remove for your needs.
# Check all possible values for python in here: https://docs.travis-ci.com/user/languages/python/
# See how to further configure the matrix of combinations in here: https://docs.travis-ci.com/user/multi-os/
language: python
# Uncomment if you need super powers (e.g., for apt-get)
# sudo: require
# To use other python versions in osx, set the PYTHON variable with the version supported by pyenv.
# Check available versions with `pyenv install --list'.
matrix:
include:
- os: linux
python: 2.7
- os: linux
python: 3.3
- os: osx
language: generic
env: PYTHON=2.7
- os: osx
language: generic
env: PYTHON=3.3.6
# Command to install dependencies for each configuration.
install:
# For OSX, you may want to call a script installing virtual env and so on.
- ./scripts/install.sh
- pip install -U pytest
- pip install .
# Command to run tests. These are run for each configuration
script:
- python --version