forked from cfelton/rhea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (59 loc) · 1.39 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
language: python
python:
- "3.5"
- "3.4"
- "2.7"
# pypy runs super slow with coverage (at least how I am
# running it), don't run pypy with coverage. Will need
# to use the build matrix to only run pypy with no coverage
# - "pypy"
addons:
apt:
packages:
- build-essential
- autoconf
- gperf
cache:
directories:
- $HOME/iverilog
- $HOME/ghdl
- $HOME/icestorm
- $HOME/arachne-pnr
- $HOME/yosys
before_install:
- g++ --version
- export PATH=$PATH:$HOME/iverilog/bin/:$HOME/yosys/
- export PATH=$PATH:$HOME/icestorm/icepack/:$HOME/arachne-pnr/bin/
- echo $HOME
- ls $HOME/
- chmod +x ./scripts/ci/install_iverilog.sh
- ./scripts/ci/install_iverilog.sh
# command to install dependencies, always using the latest
# myhdl for the master branch
install:
- chmod +x ./scripts/ci/install_myhdl.sh
- ./scripts/ci/install_myhdl.sh
- pip install coverage
- pip install coveralls
- pip install Pillow
- pip install .
# env:
# - RUNLONG="false"
# - COVERAGE="true"
# the longtests still take too long with pypy
#matrix:
# exclude:
# - python: "pypy"
# include:
# - python: "pypy"
# env: RUNLONG="true"
# run the test
script:
- chmod +x ./scripts/ci/run_tests.sh
- ./scripts/ci/run_tests.sh
after_success:
- coveralls
notifications:
email: true