forked from VOLTTRON/dnp3-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 loc) · 908 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
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- cmake
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- PYTHON=2.7
sudo: required
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- cmake
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- PYTHON=3.6
sudo: required
before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get update -qq
- sudo apt-get install -y build-essential python-dev openssl libssl-dev libevent-dev
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
- pip install -U pip
- python setup.py install
script:
- pytest tests/