forked from XML-Security/signxml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 838 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
36
37
38
39
language: python
cache: pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
matrix:
include:
- language: generic
python: 3.6
env: PYTHON_VERSION=3
os: osx
- language: python
python: 3.7
dist: xenial
sudo: required
allow_failures:
- python: pypy3
install:
- if [[ $TRAVIS_OS_NAME == osx ]]; then brew upgrade python; pip3 install --ignore-installed virtualenv; fi
- if [[ $TRAVIS_OS_NAME == osx ]]; then export LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include"; fi
- virtualenv --python=python$PYTHON_VERSION env
- source env/bin/activate
- make install
- if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then pip install lxml==3.8.0; fi
script:
- make test
after_success:
- bash <(curl -s https://codecov.io/bash)
sudo: false