try to install SMARTS on TravisCI
@@ -29,10 +29,19 @@ before_install:
- export RAYPATH=.:$PWD/radiance-5.2.dd0f8e38a7-Linux/usr/local/radiance/lib
- export MANPATH=$MANPATH:$PWD/radiance-5.2.dd0f8e38a7-Linux/usr/local/radiance/man
+# Get SMARTS 2.9.5
+ - wget https://www.nrel.gov/grid/solar-resource/assets/data/smarts-295-linux-tar.gz -O /tmp smarts.tar.gz
+ - tar -xvf /tmp/smarts.tar.gz
+ - pwd
+ - ls -l /tmp/SMARTS_295_Linux
+ - export SMARTSPATH=$SMARTSPATH:$PWD/SMARTS_295_Linux
+
# Copy gencumulativesky into RAYPATH...
- ls -l /home/travis/build/NREL/bifacial_radiance/bifacial_radiance/data
- cp /home/travis/build/NREL/bifacial_radiance/bifacial_radiance/data/gencumulativesky $PWD/radiance-5.2.dd0f8e38a7-Linux/usr/local/radiance/bin/
- ls -l $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
