| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,30 +1,21 @@ | |||
| 1 | - language: node_js | ||
| 2 | - node_js: | ||
| 3 | - - "0.10" | ||
| 4 | - - "0.12" | ||
| 5 | - - "1.4.3" | ||
| 6 | - | ||
| 7 | 1 | env: | |
| 8 | 2 | matrix: | |
| 9 | - fast_finish: true | ||
| 10 | - allow_failures: | ||
| 11 | - - node_js "0.10" | ||
| 12 | - - node_js "1.4.3" | ||
| 13 | - | ||
| 3 | + - export NODE_VERSION="0.10" | ||
| 4 | + - export NODE_VERSION="0.12" | ||
| 5 | + - export NODE_VERSION="iojs" | ||
| 14 | 6 | before_install: | |
| 7 | + - git clone https://github.com/creationix/nvm.git ./.nvm | ||
| 8 | + - source ./.nvm/nvm.sh | ||
| 9 | + - nvm install $NODE_VERSION | ||
| 10 | + - nvm use $NODE_VERSION | ||
| 15 | 11 | - if [ $TRAVIS_OS_NAME == "linux" ]; then | |
| 16 | 12 | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; | |
| 17 | 13 | sudo apt-get -qq update; | |
| 18 | 14 | sudo apt-get -qq install g++-4.8; | |
| 19 | 15 | export CXX='g++-4.8'; | |
| 20 | 16 | fi | |
| 21 | - - if [ $TRAVIS_OS_NAME = "osx" ]; then | ||
| 22 | - git clone https://github.com/creationix/nvm.git ./.nvm; | ||
| 23 | - source ./.nvm/nvm.sh; | ||
| 24 | - fi | ||
| 25 | 17 | - "export JOBS=4" | |
| 26 | 18 | - BUILD_ONLY=true npm install | |
| 27 | - | ||
| 28 | 19 | # This is a random private key used purely for testing. | |
| 29 | 20 | before_script: | |
| 30 | 21 | - echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config | |
@@ -35,21 +26,16 @@ before_script: | |||
| 35 | 26 | - ssh-add ~/.ssh/id_rsa | |
| 36 | 27 | - git config --global user.name "John Doe" | |
| 37 | 28 | - git config --global user.email johndoe@example.com | |
| 38 | - | ||
| 39 | 29 | git: | |
| 40 | 30 | depth: 1 | |
| 41 | - | ||
| 42 | 31 | branches: | |
| 43 | 32 | only: | |
| 44 | 33 | - master | |
| 45 | 34 | - v0.3 | |
| 46 | - | ||
| 47 | 35 | os: | |
| 48 | 36 | - linux | |
| 49 | 37 | - osx | |
| 50 | - | ||
| 51 | 38 | script: npm test | |
| 52 | - | ||
| 53 | 39 | notifications: | |
| 54 | 40 | slack: | |
| 55 | 41 | secure: KglNSqZiid9YudCwkPFDh+sZfW5BwFlM70y67E4peHwwlbbV1sSBPHcs74ZHP/lqgEZ4hMv4N2NI58oYFD5/1a+tKIQP1TkdIMuq4j2LXheuirA2HDcydOVrsC8kRx5XFGKdVRg/uyX2dlRHcOWFhxrS6yc6IxtxYWlRTD2SmEc= | |
| Back | FazBrowse Home | New Git URL |
0 commit comments