Adding a travis config which tests the conda environment still works.
authorTim 'mithro' Ansell <me@mith.ro>
Sun, 4 Mar 2018 00:20:27 +0000 (16:20 -0800)
committerTim 'mithro' Ansell <me@mith.ro>
Sun, 4 Mar 2018 00:42:33 +0000 (16:42 -0800)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..822ff36
--- /dev/null
@@ -0,0 +1,14 @@
+language: python
+python:
+ - "3.6"
+
+install:
+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
+ - bash miniconda.sh -b -p $HOME/miniconda
+ - export PATH="$HOME/miniconda/bin:$PATH"
+ - hash -r
+ - conda config --set always_yes yes --set changeps1 no
+
+script:
+ - conda env create -f environment.yml
+ - source activate litex