set TravisCI to install Radiance prior to tests
@@ -14,11 +14,17 @@ env:
- REQ_ENV='-r requirements.txt .'
# - REQ_ENV='--upgrade --upgrade-strategy=eager .'
-# Radiance is required to run tests. Download and setup from https://github.com/NREL/Radiance/releases/download/5.2/radiance-5.2.dd0f8e38a7-Linux.tar.gz
+# Radiance is required to run tests. Download and setup v5.2
+
before_install:
- - wget https://github.com/n1k0/casperjs/archive/1.0.2.tar.gz -O /tmp/casper.tar.gz
- - tar -xvf /tmp/casper.tar.gz
- - export PATH=$PATH:$PWD/casperjs-1.0.2/bin/
+ - wget https://github.com/NREL/Radiance/releases/download/5.2/radiance-5.2.dd0f8e38a7-Linux.tar.gz -O /tmp/radiance.tar.gz
+ - tar -xvf /tmp/radiance.tar.gz
+ - export PATH=$PATH:$PWD/radiance-5.2.dd0f8e38a7-Linux/usr/local/radiance/bin
+# Example from TravisCI: https://docs.travis-ci.com/user/installing-dependencies
+#before_install:
+# - wget https://github.com/n1k0/casperjs/archive/1.0.2.tar.gz -O /tmp/casper.tar.gz
+# - tar -xvf /tmp/casper.tar.gz
+# - export PATH=$PATH:$PWD/casperjs-1.0.2/bin/
install:
- pip install $REQ_ENV
