This repository has been archived by the owner on Jul 25, 2020. It is now read-only.
forked from HorizenOfficial/arizen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
85 lines (73 loc) · 1.77 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
# Arizen's Travis CI build script for building Linux, MacOS, and Windows release.
notifications:
email: false
git:
depth: 10
branches:
only:
# release tags
- /^v\d+\.\d+\.\d+.*$/
- development
- master
env:
global:
# TODO Update this to match the name of your project.
- PROJECT_NAME=arizen
matrix:
include:
- os: osx
env: TARGET_ARCH=x64
osx_image: xcode9.2
sudo: required
language: c
- os: windows
sudo: required
env: TARGET_ARCH=x64
language: c
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1 TARGET_ARCH=x64
compiler: clang
sudo: required
dist: trusty
language: c
cache:
directories:
- node_modules
- app/node_modules
- "$HOME/.electron"
- "$HOME/.cache"
addons:
apt:
packages:
- graphviz
- libgnome-keyring-dev
- icnsutils
before_install:
- ./ci/before_install.sh
install:
- nvm install 6
- ./ci/install.sh
script:
- ./ci/script.sh
after_script:
# - set +e
before_deploy:
# - sh ci/before_deploy.sh
# deploy:
# TODO update `api_key.secure`
# - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new
# - Encrypt it: `travis encrypt 0123456789012345678901234567890123456789
# - Paste the output down here
#api_key:
# secure: A9v3PIzQQ4U08
#file_glob: true
#file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
#on:
# TODO Here you can pick which targets will generate binary releases
# In this example, there are some targets that are tested using the stable
# and nightly channels. This condition makes sure there is only one release
# for such targets and that's generated using the stable channel
# condition: $TRAVIS_RUST_VERSION = stable
# tags: true
#provider: releases
#skip_cleanup: true