-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (19 loc) · 852 Bytes
/
.travis.yml
File metadata and controls
23 lines (19 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
node_js:
- '12'
env:
global:
- BRANCH=${TRAVIS_BRANCH}
- TAG=${TRAVIS_TAG}
- SHA=${TRAVIS_COMMIT}
- GIT_USER=absrivastava
# generate doc pages and move generated resources to out folder
script:
- git config --global user.email "absrivastava@users.noreply.github.com"
- git config --global user.name "absrivastava"
- echo "machine github.com login absrivastava password $GITHUB_TOKEN" > ~/.netrc
- if ([ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]) || [ -n "$TRAVIS_TAG" ]; then GIT_USER=$GITHUB_USER ./docsite/generate_docsite.sh; fi
- if ([ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]) || [ -n "$TRAVIS_TAG" ]; then ./deployment/grafana/build/docker/publish-to-docker-hub.sh; fi
notifications:
email:
- haystack-notifications@expedia.com