forked from stdlib-js/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
81 lines (61 loc) · 2.12 KB
/
.travis.yml
File metadata and controls
81 lines (61 loc) · 2.12 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# After changing this file, check it on:
# http://lint.travis-ci.org/
#
# Known lint bugs:
# - addons: https://github.com/travis-ci/travis-yaml/issues/58
# - osx: https://github.com/travis-ci/travis-yaml/issues/95
language: node_js
# Is `sudo` required? If not, jobs are run on container-based infrastructure.
sudo: true
os:
- linux
- osx
node_js:
# Node.js
- 'node'
- '6'
- '5'
- '4'
# io.js
- '3'
- '2'
- '1'
# Node.js
- '0.12'
- '0.10'
env:
# Environment variables common to all jobs:
global:
- CXX=g++-4.8
# Environment variables used to construct build matrix:
matrix:
- BUILD_TASK='test'
- BUILD_TASK='benchmark'
- BUILD_TASK='examples'
- BUILD_TASK='test-coverage'
matrix:
# Flag to immediately finish a build if any one of the jobs fails:
fast_finish: true
# Compiling native modules for io.js v3.x.x or Node.js >=v4.0.0 requires a C++11 standard-compliant compiler. Specifically, either gcc >=4.8 or clang >=3.5.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
# Set the clone depth:
git:
depth: 50
before_install:
# Update the npm client. Older clients cannot, e.g., handle scoped modules.
- npm update -g npm
script:
- chmod +x ./tools/ci/travis/script
- "./tools/ci/travis/script $BUILD_TASK"
after_script:
- chmod +x ./tools/ci/travis/after_script
- "./tools/ci/travis/after_script"
notifications:
slack:
rooms:
secure: "RvY7XdxrvM3clWcnCIDYym+NerUVqpFS8Xekg7owYHgIm159zdpg5aIQAXvCuW4n82cK4bl932Cws6fzlXlnqS/0mjP1VTB1cQ32gL3TG2KpWAGJhtcl2gKEqM5KOZIKOW3171j0rsMQUODmke/N2316ACvgYoOUJbQXoOdaFIkWEMqgVxyq2sl9sC+4mPW3TmZEXNzn9Kt+OphunbfgEBrbkAL1QjiXYZnhhYT4SQ/QwaHtvI0MmYQ3B5GLXXMx+NkXrG3qcXx7XLxbw61rTKxY+vWqAh9w4MznlVptf8NiPCd0MX+2VyRPVow9wqZ68yWFAOHYt4zlW+uGlqr9cT31sQjuCH4WNjSPx+5YMrD4a7oBRAmxpIa7v7yRIhXR6Ia/0YO5S0kkV2MaSj+SiCcGSehWbV8NdlGzu5eD8JYzHQUykqCoKkfRC21F4ppvVL+rC8odkMLtLVOwA6+oDngqSuhXCRI8miac1YEmtu8Cj+JOVxgTudVQUkzcdgr7apUFRI3SblPQZnT0k/2eU0/U818z44tsDk5CcbCVXUCyre7vHNRrGGu8JaN7czxRKjEvbN//qGVixxm0tldQKgV1p3s0NVHPQJeuPX0hy3qHaQnzzPoJtNQvqjeOdPZsCArGjhQoWrP3QkIE0s8ZYFQnuQ1DqH3Pcqgvf45vjq0="