FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript/.travis.yml at master · ds604/javascript · GitHub
ds604
javascript
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript
/
.travis.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (24 loc) · 1.02 KB
Breadcrumbs
javascript
/
.travis.yml
Copy path
File metadata and controls
24 lines (24 loc) · 1.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language
:
node_js
node_js
:
-
"
8
"
-
"
7
"
-
"
6
"
-
"
5
"
-
"
4
"
env
:
-
'
TEST_DIR=packages/eslint-config-airbnb
'
-
'
TEST_DIR=packages/eslint-config-airbnb-base
'
before_install
:
-
'
cd $TEST_DIR
'
-
'
if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g npm@1.3 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi
'
-
'
if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g npm@4.5 ; elif [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi
'
install
:
-
'
if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g npm@1.3 && npm install -g npm@1.4.28 && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;
'
script
:
-
'
npm run travis
'
sudo
:
false
matrix
:
fast_finish
:
true
allow_failures
:
-
node_js
:
"
7
"
-
node_js
:
"
5
"
Back
|
FazBrowse Home
|
New Git URL