This repository has been archived by the owner on Jul 23, 2023. It is now read-only.
forked from EmberTown/ember-hearth
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
55 lines (49 loc) · 1.82 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
---
language: node_js
node_js:
- 'lts/boron'
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: false
cache:
directories:
- node_modules
- $HOME/.npm
- $HOME/.cache # includes bowers cache
before_install:
- npm config set spin false
- npm install -g bower phantomjs-prebuilt
- bower --version
- phantomjs --version
install:
- npm install
- bower install
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- npm test
before_deploy:
- ember electron:package --platform=darwin --arch=x64 --overwrite
- ember electron:package --platform=linux --arch=x64 --overwrite
- tar -cjf electron-builds/Ember\ Hearth-darwin-x64.tar.bz2 electron-builds/Ember\ Hearth-darwin-x64
- tar -cjf electron-builds/Ember\ Hearth-linux-x64.tar.bz2 electron-builds/Ember\ Hearth-linux-x64
deploy:
provider: releases
api_key:
secure: lTJ7422+w6FmnQccu4Npjx/G72D0r7Ga7f5U0x9t0Z2M516jIgA+IwoGufrIEUyYD/AkB5bEzdQJUXvse+SLz/240eC6IhNBjxQoA3B4r18pLbCNDPd0l8jIcW7iZFSsclyU9HztHCq7S6UoQU8tV5k+voot01w7DmPSC8/YWrxEDuI75PH0lwgaNOBSNN8sMgA/Afx2AF5g4pniLNG1a9fyq0Fhpl/WHPXyiO6bFY5h+UqMNRC0oj731G0R1Ft+2A5CVucfFxSVr+ozjMPdAdwpN7Lcjsp+2OrLEsLSQq4A0D8aNYTja5LAX0RiMqnmtTah3Wjd681yDlCIIYo4mzH8rNhBxcaAIwyj/OYP0ITP1D0gLtrNHy6NY/SYlePKQDxZZbAL6b30AhKSA/1K3Jwu2/a3nWHO7Y6lmowM8nIMPZ9+V3vqBSttUlKcXdXhWnKCqNNeAv0p8AY20d1qYFwNEZZCKu16YSrZYtO+eSRQcJiZkIN/mAcorbp20OKJQDqj8f24+mrQg+x7QaYOQl9lfc7aeQz66NOhEZz5bO8i93CzTr7bUvQOutRElglnAPkB7lARMQzKQ4WhYAPH7PvAwPvRtssrZC0MNoQ35WkKi4nu/rvuNklMAnRvM4KR2RubGb6gDOrkaSQ8hSqqJ2PLw3iQNs3apOZlejaaSg4=
file:
- "electron-builds/Ember Hearth-darwin-x64.tar.bz2"
- "electron-builds/Ember Hearth-linux-x64.tar.bz2"
skip_cleanup: true
on:
repo: ember-learn/ember-hearth
branch: master
tags: true