Skip to content

Commit

Permalink
Fixed the travis testing by writing the config file into the source *…
Browse files Browse the repository at this point in the history
…before* installing it.
  • Loading branch information
pelson committed Nov 2, 2017
1 parent d46250e commit e1ce066
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,8 @@ install:
ln -s $(pwd)/iris-test-data-${IRIS_TEST_DATA_SUFFIX} iris-test-data;
fi

# prepare iris build directory
- if [[ $TEST_TARGET -ne 'coding' ]]; then
IRIS=$(ls -d1 build/lib*/iris);
mkdir $IRIS/etc;
else
IRIS=lib/iris;
fi

# set config paths
- SITE_CFG=$IRIS/etc/site.cfg
- SITE_CFG=lib/iris/etc/site.cfg
- echo "[Resources]" > $SITE_CFG
- echo "test_data_dir = $(pwd)/iris-test-data/test_data" >> $SITE_CFG
- echo "doc_dir = $(pwd)/docs/iris" >> $SITE_CFG
Expand Down

0 comments on commit e1ce066

Please sign in to comment.