-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
35 lines (30 loc) · 855 Bytes
/
.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:
include:
- os: linux
python: 2.7
- os: linux
python: 3.3
- os: linux
python: 3.4
- os: linux
python: 3.5
- os: linux
python: 3.6
- os: linux
python: "3.7-dev"
- os: osx
language: generic
addons:
apt:
packages:
- mediainfo
- poppler-utils
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mediainfo poppler; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python -m ensurepip --user; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python -m pip install pygments --user; else python -m pip install pygments; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=$HOME/Library/Python/2.7/bin/:$PATH; fi
script: ./test.sh