forked from finos/perspective
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (43 loc) · 1.28 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
dist: trusty
language: node_js
node_js: "8"
sudo: required
matrix:
fast_finish: true
include:
- node_js: "8"
language: node_js
env: TEST=WASM
services: docker
- language: c++
env: TEST=CPP
services: docker
- python: "3.6"
language: python
env: TEST=PYTHON_TABLE
cache: pip
services: docker
- language: c++
env: TEST=CPP_OSX
os: osx
allow_failures:
- language: c++
env: TEST=CPP_OSX
os: osx
env:
global:
- EM_USE_GLOBAL_CACHE=1
install:
- if [ "$TEST" = "CPP_OSX" ]; then brew install yarn; fi
- yarn
script:
- if [ "$TEST" = "WASM" ]; then PSP_DOCKER=1 yarn lint; fi
- if [ "$TEST" = "WASM" ]; then PSP_DOCKER=1 yarn build; fi
- if [ "$TEST" = "WASM" ]; then PSP_DOCKER=1 yarn test --quiet; fi
- if [ "$TEST" = "CPP" ]; then PSP_DOCKER=1 yarn build_cpp; fi
- if [ "$TEST" = "CPP" ]; then PSP_DOCKER=1 yarn test_cpp; fi
- if [ "$TEST" = "PYTHON_TABLE" ]; then PSP_DOCKER=1 yarn build_python:table; fi
- if [ "$TEST" = "PYTHON_TABLE" ]; then PSP_DOCKER=1 yarn lint_python:table; fi
- if [ "$TEST" = "PYTHON_TABLE" ]; then PSP_DOCKER=1 yarn test_python:table; fi
- if [ "$TEST" = "CPP_OSX" ]; then yarn build_cpp; fi
- if [ "$TEST" = "CPP_OSX" ]; then yarn test_cpp; fi