-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
49 lines (42 loc) · 1.19 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
matrix:
include:
- os: osx
osx_image: xcode9.0
language: node_js
node_js: "8"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
before_install:
# Conda config based on
# https://github.com/astrofrog/example-travis-conda/blob/master/.travis.yml
#
# Here we just install Miniconda, which you shouldn't have to change.
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- $HOME/miniconda/bin/conda install --yes conda-build
install:
- npm install
script:
- npm run pack
- ls release/
- zip mac-release.zip release/orca* --junk-paths
- $HOME/miniconda/bin/conda build recipe/
- ls $HOME/miniconda/conda-bld/osx-64
- cp -r $HOME/miniconda/conda-bld/osx-64 ./osx-64
- zip -r conda-osx-64.zip ./osx-64
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
addons:
artifacts:
s3_region: us-east-1
paths:
- mac-release.zip
- conda-osx-64.zip
debug: true