2014-11-05 16:22:09 -08:00
|
|
|
language: python
|
|
|
|
python:
|
2017-11-12 18:30:08 -08:00
|
|
|
- "3.6"
|
2014-11-05 16:22:09 -08:00
|
|
|
before_install:
|
|
|
|
- export d=`pwd`
|
2015-03-21 04:49:43 -07:00
|
|
|
- export PYTHON_EXE=`which python`
|
2014-11-05 16:22:09 -08:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y iverilog
|
2015-03-21 02:56:17 -07:00
|
|
|
- git clone https://github.com/jandecaluwe/myhdl.git
|
2015-03-21 04:49:43 -07:00
|
|
|
- cd $d/myhdl && sudo $PYTHON_EXE setup.py install
|
2017-11-12 18:36:15 -08:00
|
|
|
- cd $d/myhdl/cosimulation/icarus && make && sudo install -m 0755 -D ./myhdl.vpi /usr/lib/x86_64-linux-gnu/ivl/myhdl.vpi
|
2014-11-05 16:22:09 -08:00
|
|
|
- cd $d
|
|
|
|
script:
|
|
|
|
- cd tb && py.test
|
|
|
|
|