This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
.travis.yml
106 lines (93 loc) · 2.4 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
language: node_js
node_js: '8'
#cache:
# yarn: true
# directories:
# - node_modules
# - 'interface/.meteor'
sudo: required
matrix:
include:
# LINUX, MIST
- os: linux
dist: trusty
env:
- PRODUCT=mist
- GULP_PLATFORM=linux
addons:
artifacts:
paths:
- $( ls dist_mist/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
after_failure:
- cat ~/.config/Mist/logs/all.*
# LINUX, WALLET
- os: linux
dist: trusty
env:
- PRODUCT=wallet
- GULP_PLATFORM=linux
addons:
artifacts:
paths:
- $( ls dist_wallet/release/* | tr "\n" ":" )
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- gcc-multilib
- g++-multilib
after_failure:
- cat ~/.config/Ethereum\ Wallet/logs/all.*
# MAC, MIST
- os: osx
osx_image: xcode8.3
env:
- PRODUCT=mist
- GULP_PLATFORM=mac
addons:
artifacts:
paths:
- $( ls dist_mist/release/* | tr "\n" ":" )
before_install:
- npm install -g yarn
after_failure:
- cat ~/Library/Application\ Support/Mist/logs/all.*
# MAC, WALLET
- os: osx
osx_image: xcode8.3
env:
- PRODUCT=wallet
- GULP_PLATFORM=mac
addons:
artifacts:
paths:
- $( ls dist_wallet/release/* | tr "\n" ":" )
before_install:
- npm install -g yarn
after_failure:
- cat ~/Library/Application\ Support/Ethereum\ Wallet/logs/all.*
install:
- PATH=$PATH:$HOME/.meteor && curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/1390e0f96162d0d70fc1e60a6b0f4f891a0e8f42/configure.sh | /bin/sh
- meteor --version
- yarn
script:
- yarn test:unit:once
- yarn build:${PRODUCT} --$GULP_PLATFORM
- if [ $PRODUCT == "mist" && $GULP_PLATFORM="linux" ]; then
yarn test:e2e;
fi
after_success:
- if [ $TRAVIS_BRANCH == "master" ]; then
yarn dist:${PRODUCT} --$GULP_PLATFORM;
fi