From: whitequark Date: Mon, 17 Dec 2018 15:51:55 +0000 (+0000) Subject: Travis: build and cache Yosys. X-Git-Tag: working~189 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de6c12af77044e7277c0cfe7f792d9338f7e28db;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