forked from rchain/rchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
130 lines (124 loc) · 2.87 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
sudo: required
dist: trusty
matrix:
include:
- language: nix
env: SUBPROJECT=rosette
- language: scala
env: SUBPROJECT=core
scala: 2.12.4
sbt_args: -no-colors
install:
- ./scripts/install_secp.sh
- ./scripts/install_sodium.sh
- ./scripts/install.sh
addons:
apt:
sources:
- sourceline: 'deb https://dl.bintray.com/sbt/debian /'
packages:
- sbt
- jflex
- haskell-platform
- rpm
- fakeroot
- language: scala
env: SUBPROJECT=test_artifact_creation
scala: 2.12.4
sbt_args: -no-colors
install:
- ./scripts/install_secp.sh
- ./scripts/install_sodium.sh
- ./scripts/install.sh
addons:
apt:
sources:
- sourceline: 'deb https://dl.bintray.com/sbt/debian /'
packages:
- sbt
- jflex
- haskell-platform
- rpm
- fakeroot
- language: scala
env: SUBPROJECT=rnode-dockerhub-push
scala: 2.12.4
sbt_args: -no-colors
install:
- ./scripts/install_secp.sh
- ./scripts/install_sodium.sh
- ./scripts/install_bnfc.sh
- ./scripts/rnode-dockerhub-push.sh
addons:
apt:
sources:
- sourceline: 'deb https://dl.bintray.com/sbt/debian /'
packages:
- sbt
- jflex
- haskell-platform
- rpm
- fakeroot
- language: scala
env: SUBPROJECT=p2p-test-network
scala: 2.12.4
sbt_args: -no-colors
install:
- ./scripts/install_secp.sh
- ./scripts/install_sodium.sh
- ./scripts/install_bnfc.sh
addons:
apt:
sources:
- sourceline: 'deb https://dl.bintray.com/sbt/debian /'
packages:
- sbt
- jflex
- haskell-platform
- rpm
- fakeroot
- language: scala
env: SUBPROJECT=cloud-p2p-test-network
scala: 2.12.4
sbt_args: -no-colors
install:
- ./scripts/install_secp.sh
- ./scripts/install_sodium.sh
- ./scripts/install_bnfc.sh
addons:
apt:
sources:
- sourceline: 'deb https://dl.bintray.com/sbt/debian /'
packages:
- sbt
- jflex
- haskell-platform
- rpm
- fakeroot
- language: nix
env: SUBPROJECT=rholang_more_tests
script:
- ./scripts/build-subprojects.sh
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt"
after_success:
- "./scripts/create-artifacts.sh"
deploy:
provider: releases
api_key: "$GITHUB_RELEASES_API_TOKEN_PUBLIC_REPO"
file_glob: true
file:
- "node/target/*.deb"
- "node/target/rpm/RPMS/noarch/*.rpm"
- "node/target/universal/*.tgz"
skip_cleanup: true
on:
tags: true
branch: master
notifications:
email:
recipients: rchain-makers@pyrofex.net
on_success: never
on_failure: always