From 610d5ecaafa5f5bded39a417bf515a6a9ab7fbb4 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 17 Dec 2018 15:51:55 +0000 Subject: [PATCH] Travis: build and cache Yosys. --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2