forked from algorand/js-algorand-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (46 loc) · 3.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
dist: bionic
language: node_js
node_js:
- '12'
script:
- set -e
- if [ -n "$DOCKER_PASSWORD" ]; then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ; fi
- npm test
- make docker-test
jobs:
include:
- stage: Code Style
name: ESLint
script: npm run lint
- name: Prettier
script: prettier --check .
- stage: Testing
name: Compile test
script:
- npm run build
- npx tsc -p tests/compile
- name: Node test
- name: Chrome test
env: TEST_BROWSER=chrome
addons:
chrome: stable
- name: Firefox test
env: TEST_BROWSER=firefox
addons:
firefox: latest
- stage: Docs
name: GitHub Pages
if: branch = master
script: npm run docs
deploy:
provider: pages
skip_cleanup: true
keep_history: true
local_dir: docs
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
before_deploy: touch docs/.nojekyll
env:
global:
- secure: CcCQWOq/afdYwF1RvF8tAkiXVRSgv0LDJC+74ER0YXgJTb6yVScMl5mFJzbUqTbZB5jeRNvw570VJF6PdKwKeiI7STgd0WkwuFMNgkFXFly/ADIGcSuueUozfR/7oBPaoG2yeLpPF9vt18Ci7pWQr27YGTeJCnAE/M6rZfhKp7Jcgts3bjrIwVCiPwmgv8acj3I1jwfwuyUzfD7Gcj7FwSGN9gwhEKFDDA+ImOxfK/C68xL8JWrJnGZqnMyAe6IISa9swozWRR5h0ILufOBh1lhsR8MTTW8IjY8LblFO18DzhD+kcdq77Ij5EhWLbcdcwvxASI5Wyhpt+O4BJVgC/XMCTBcQ4Zk8M5ZrNpfwFd3j74f4URxtTnuI0cNLE/qKXmGpATL6OlTjV5RSmhv2bM0L9d5UIhIW3OBF8ZUXuX1peCUw7O6nXuChYtxy7F/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