-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
33 lines (27 loc) · 849 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
language: python
python:
- "3.7"
os: linux
sudo: required
dist: bionic
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y gnat zlib1g-dev
before_script:
- pip install git+https://github.com/benreynwar/slvcodec@2cb6ef81130d60b387ec0ac6cde78eb419893ff9#egg=slvcodec-0.0.0
- pip install git+https://github.com/cocotb/cocotb@0965b5a53a0d7e2ed4440af902f2d62b1525e14f#egg=cocotb-0.0.0
- pip install fusesoc pytest vunit-hdl
- pip install -e .
- git clone --depth 1 https://github.com/ghdl/ghdl.git ghdl
- cd ghdl
- mkdir build
- cd build
- ../configure --prefix=../../install-ghdl/
- make
- make install
- cd ../../
- export PATH=$PATH:`pwd`/install-ghdl/bin/
- pip install cocotb
script:
- pytest tests
- cd tests; make