forked from CesiumGS/cesium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (42 loc) · 1.41 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
language: node_js
dist: focal # Workaround for NodeJS 18 - https://travis-ci.community/t/the-command-npm-config-set-spin-false-failed-and-exited-with-1-during/12909/7
addons:
chrome: stable
firefox: latest
notifications:
slack:
secure: JKzk2sJSbZ9h2PUVWj6KtOAdFbEEnOtv/VZy05pJ2H41xRgUHiGdtMW/vMSeq6XX3IJN8eW2zd0cJTgkFn0ioAlYvID8zRhcvkFHg60QXquoqtp5y65dxjtVz79hefxSo7FO1NhMZBQWE9Tg6R7XkoyTMth62+T9vqOgu2Hms6M=
if: (branch = main) AND (type = push)
on_success: change # default: always
jobs:
include:
- stage:
name: "Coverage"
node_js: "18"
before_script:
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip awscliv2.zip
- sudo ./aws/install
script:
- ./travis/coverage.sh
- name: "Release Tests"
node_js: "18"
script:
- ./travis/test-release.sh
- ./travis/verify.sh
- npm --silent run cloc
- name: "Linting, Deployment"
node_js: "18"
script:
- ./travis/prepare.sh
- npm --silent run deploy-status -- --status pending --message 'Waiting for build'
- npm --silent run eslint
- npm --silent run markdownlint
- npm --silent run prettier-check
- ./travis/release.sh
- ./travis/deploy.sh
- name: "NodeJS 16"
node_js: "16"
script:
- npm --silent run build-release
- ./travis/verify.sh