Travis: build and cache Yosys.
This commit is contained in:
parent
8d1639a5a8
commit
de6c12af77
|
@ -3,8 +3,14 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7"
|
- "3.7"
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- "$HOME/.ccache"
|
||||||
|
before_install:
|
||||||
|
- export PATH="/usr/lib/ccache:$PATH"
|
||||||
install:
|
install:
|
||||||
- pip install coverage codecov pyvcd
|
- pip install coverage codecov pyvcd
|
||||||
|
- git clone https://github.com/YosysHQ/yosys && (cd yosys && make CONFIG=gcc ENABLE_ABC=0)
|
||||||
script:
|
script:
|
||||||
- coverage run -m unittest discover
|
- coverage run -m unittest discover
|
||||||
- codecov
|
- codecov
|
||||||
|
|
Loading…
Reference in a new issue