Trying another way without export

This commit is contained in:
Andrew Titmuss 2016-10-05 16:44:42 +11:00 committed by GitHub
parent 6e09b75032
commit 53cb28fe9b

View file

@ -8,8 +8,8 @@ os:
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PREFIX=/usr/local ; fi
script: script:
- sudo make install - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PREFIX=/usr/local make install ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make install ; fi
- time neofetch --ascii --config off --ascii_distro travis -v --test - time neofetch --ascii --config off --ascii_distro travis -v --test