Added installing yosys with miniconda in .travis.yml Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
diff --git a/.travis.yml b/.travis.yml index d5791ae..452ce71 100644 --- a/.travis.yml +++ b/.travis.yml
@@ -9,7 +9,17 @@ - python: 3.7 env: TOXENV=py37 -install: pip install tox +install: + - pip install tox + - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh + - bash miniconda.sh -b -p $HOME/miniconda + - source "$HOME/miniconda/etc/profile.d/conda.sh" + - hash -r + - conda config --set always_yes yes --set changeps1 no + - conda install -q setuptools + - conda update -q conda + - conda env create --file conf/environment.yml + - conda activate yosys-env script: tox
diff --git a/MANIFEST.in b/MANIFEST.in index b9318a3..e0c39ae 100644 --- a/MANIFEST.in +++ b/MANIFEST.in
@@ -1,6 +1,7 @@ exclude .readthedocs.yml exclude tox.ini exclude *.swp +prune conf # Include the README include *.md
diff --git a/conf/environment.yml b/conf/environment.yml new file mode 100644 index 0000000..08fb66b --- /dev/null +++ b/conf/environment.yml
@@ -0,0 +1,5 @@ +name: yosys-env +channels: + - symbiflow +dependencies: + - yosys