forked from pmq20/node-packer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (28 loc) · 800 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
language: node_js
node_js: 7.10.0
os:
- linux
- osx
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; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9"; 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/coffeescript || exit $?
- NODEC_TESTS_TMPDIR=/tmp/nodec_tests_tmpdir ruby tests/microtime || exit $?