forked from coinapp-io/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (27 loc) · 733 Bytes
/
Copy path.travis.yml
File metadata and controls
37 lines (27 loc) · 733 Bytes
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
language: node_js
node_js:
- "8.11.1"
sudo: required
os:
- osx
env:
- TARGET_ARCH=x64
services:
- docker
osx_image: xcode9.0
cache:
directories:
- node_modules
addons:
apt:
packages:
- xvfb
- libusb-1.0-0
- libusb-1.0-0-dev
- libudev-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run -it -d -p 3001:3001 hunterlong/btcregtest-insight:latest; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run -it -d -p 3005:3005 hunterlong/ltcregtest-insight:latest; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then /bin/bash -c ./.travis/travis-test.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then /bin/bash -c ./.travis/release-osx.sh; fi