-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
54 lines (48 loc) · 1.2 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
44
45
46
47
48
49
50
51
52
53
54
dist: xenial
language: python
python:
- "3.6"
sudo: required
cache:
directories:
- ${TRAVIS_BUILD_DIR}/pycoreir
- ${TRAVIS_BUILD_DIR}/pysmt
- ${TRAVIS_BUILD_DIR}/coreir
- /home/travis/.smt_solvers/python-bindings-3.6
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- clang
- wget
- unzip
- build-essential
- python3
- automake
- libgmp-dev
- curl
- nano
- python3-dev
- libboost-dev
- default-jdk
- libclang-dev
- llvm
- llvm-dev
- lbzip2
- libncurses5-dev
- python3-nose
- iverilog
- libreadline-dev
- libmpfr-dev
- libmpc-dev
install:
- bash ./scripts/travis_install.sh
- pip install -e .
- pysmt-install --msat --confirm-agreement --install-path solvers --bindings-path bindings
- chmod +x ./yosys
env:
- PATH="$PATH:." PYTHONPATH="${TRAVIS_BUILD_DIR}/pycoreir":"${TRAVIS_BUILD_DIR}/solvers/":"${TRAVIS_BUILD_DIR}/bindings:${PYTHONPATH}" LD_LIBRARY_PATH="${TRAVIS_BUILD_DIR}/coreir/lib":"${TRAVIS_BUILD_DIR}/bindings:${TRAVIS_BUILD_DIR}/solvers:${LD_LIBRARY_PATH}" COREIRCONFIG=g++-7 CC=gcc-7 CXX=g++-7
script: nosetests tests -vv