-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
41 lines (37 loc) · 1.27 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
language: node_js
notifications:
email: false
stages:
- name: check-pr
if: type = pull_request
jobs:
include:
- stage: check-pr
node_js: lts/*
script: ./scripts/check-pr.sh
env: Checks contributing guidelines before testing pull requests
- stage: lint
node_js: node
script: npm run lint
env: Checks the sources with TSLint
- stage: test
node_js: lts/*
script: npm run clean && node bin/asc -v && npm test
env: Tests the sources on latest node.js LTS
- node_js: node
script: npm run clean && node bin/asc -v && npm test
env: Tests the sources on latest stable node.js
- node_js: lts/*
script:
- npm run clean
- cd $TRAVIS_BUILD_DIR/tests/allocators/arena && npm run build && cd .. && npm test arena
- cd $TRAVIS_BUILD_DIR/tests/allocators/buddy && npm run build && cd .. && npm test buddy
- cd $TRAVIS_BUILD_DIR/tests/allocators/tlsf && npm run build && cd .. && npm test tlsf
env: Tests the allocators on latest node.js LTS
- stage: build
node_js: lts/*
script: npm run build && node bin/asc -v && npm test
env: Builds and tests the bundle on latest node.js LTS
- node_js: node
script: npm run build && node bin/asc -v && npm test
env: Builds and tests the bundle on latest stable node.js