FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodebestpractices/.travis.yml at update/document-api-errors · javascriptit/nodebestpractices · GitHub
javascriptit
nodebestpractices
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodebestpractices
/
.travis.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (9 loc) · 372 Bytes
Breadcrumbs
nodebestpractices
/
.travis.yml
Copy path
File metadata and controls
9 lines (9 loc) · 372 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
language
:
node_js
node_js
:
8
script
:
-
cd .operations
-
npm i
-
export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
-
export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
-
echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
-
npm run build
Back
|
FazBrowse Home
|
New Git URL