| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,11 +7,14 @@ before_install: | |||
| 7 | 7 | - source ./.nvm/nvm.sh | |
| 8 | 8 | - nvm install $NODE_VERSION | |
| 9 | 9 | - nvm use $NODE_VERSION | |
| 10 | - - "sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test" | ||
| 11 | - - "sudo apt-get -qq update" | ||
| 12 | - - "sudo apt-get -qq install g++-4.8" | ||
| 10 | + - if [ $TRAVIS_OS_NAME == "linux" ]; then | ||
| 11 | + sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; | ||
| 12 | + sudo apt-get -qq update; | ||
| 13 | + sudo apt-get -qq install g++-4.8; | ||
| 14 | + fi | ||
| 13 | 15 | - "export CXX='g++-4.8'" | |
| 14 | 16 | - "export JOBS=4" | |
| 17 | + - npm install | ||
| 15 | 18 | # This is a random private key used purely for testing. | |
| 16 | 19 | before_script: | |
| 17 | 20 | - echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config | |
| Back | FazBrowse Home | New Git URL |
0 commit comments