forked from ethereum/mist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (57 loc) · 1.54 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
language: node_js
node_js: '8'
#cache:
# yarn: true
# directories:
# - node_modules
# - 'interface/.meteor'
sudo: required
matrix:
include:
# LINUX
- os: linux
dist: trusty
env:
- GULP_PLATFORM=linux
addons:
artifacts:
paths:
- $( ls dist_{mist,wallet}/release/* | tr "\n" ":" )
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- gcc-multilib
- g++-multilib
before_install:
# prepare integration tests
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
# MAC
- os: osx
osx_image: xcode8.3
env:
- GULP_PLATFORM=mac
addons:
artifacts:
paths:
- $( ls dist_{mist,wallet}/release/* | tr "\n" ":" )
before_install:
- npm install -g yarn
install:
- PATH=$PATH:$HOME/.meteor && curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/1390e0f96162d0d70fc1e60a6b0f4f891a0e8f42/configure.sh | /bin/sh
- meteor --version
- yarn
# only code signs when on master
- if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi
script:
- yarn test:unit:once
- yarn build:mist --$GULP_PLATFORM
- yarn build:wallet --$GULP_PLATFORM
- cat dist_mist/app/interface/index.html
- yarn test:e2e
after_success:
- if [[ $TRAVIS_BRANCH == "master" ]]; then
yarn dist:mist --$GULP_PLATFORM;
yarn dist:wallet --$GULP_PLATFORM;
fi