forked from pmq20/node-packer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (37 loc) · 1014 Bytes
/
.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
matrix:
include:
- os: osx
node_js: 8.3.0
env: TEST_SCRIPT=coffeescript
- os: osx
node_js: 8.3.0
env: TEST_SCRIPT=microtime
- os: linux
node_js: 8.3.0
env: TEST_SCRIPT=coffeescript
- os: linux
node_js: 8.3.0
env: TEST_SCRIPT=microtime
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- squashfs-tools
- gcc-4.9
- g++-4.9
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then rm -rf /usr/local/Cellar/openssl/ && brew install squashfs openssl; clang --version; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9"; gcc-4.9 --version; g++-4.9 --version; fi
before_script:
- rvm install ruby-2.4.0
- rvm use ruby-2.4.0
- python --version
- mksquashfs -version
- ruby --version
- node --version
- npm --version
script:
- rm -rf /tmp/nodec_tests_tmpdir && mkdir /tmp/nodec_tests_tmpdir
- NODEC_TESTS_TMPDIR=/tmp/nodec_tests_tmpdir ruby tests/$TEST_SCRIPT || exit $?