-
-
Notifications
You must be signed in to change notification settings - Fork 97
/
.travis.yml
60 lines (57 loc) · 1.49 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
51
52
53
54
55
56
57
58
59
60
language: node_js
node_js:
- "10"
dist: trusty
sudo: required
addons:
chrome: stable
jobs:
include:
- name: "Unit Tests"
if: type = pull_request
script:
- npm test
after_success: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
- name: "Typescript Tests"
if: type = pull_request
script:
- npm run build
- npm run test:typescript
# run permutations in parallel (starting with the longer running ones
# so they have more time to complete while the shorter ones finish)
- name: "Permutation Tests: gameObject"
if: type = pull_request
script:
- npm run build
- npm run test:permutations gameObject
- name: "Permutation Tests: vector"
if: type = pull_request
script:
- npm run build
- npm run test:permutations vector
- name: "Permutation Tests: text"
if: type = pull_request
script:
- npm run build
- npm run test:permutations text
- name: "Permutation Tests: updatable"
if: type = pull_request
script:
- npm run build
- npm run test:permutations updatable
- name: "Permutation Tests: sprite"
if: type = pull_request
script:
- npm run build
- npm run test:permutations sprite
- name: "Deploy gh-pages"
if: type = push
script: npm run build:docs
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: docs
on:
branch: v7 #Test this branch