From: whitequark Date: Mon, 17 Dec 2018 15:51:55 +0000 (+0000) Subject: Travis: build and cache Yosys. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=610d5ecaafa5f5bded39a417bf515a6a9ab7fbb4;p=nmigen.git Travis: build and cache Yosys. --- diff --git a/.travis.yml b/.travis.yml index 73aba4d..2fd2ffb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,14 @@ language: python python: - "3.6" - "3.7" +cache: + directories: + - "$HOME/.ccache" +before_install: + - export PATH="/usr/lib/ccache:$PATH" install: - pip install coverage codecov pyvcd + - git clone https://github.com/YosysHQ/yosys && (cd yosys && make CONFIG=gcc ENABLE_ABC=0) script: - coverage run -m unittest discover - codecov