forked from rchain/rchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (57 loc) · 1.18 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
sudo: required
dist: trusty
jdk:
- openjdk8
matrix:
include:
- language: nix
env: SUBPROJECT=rosette
- language: scala
env:
- SUBPROJECT=core
scala: 2.12.4
sbt_args: -no-colors
install:
- ./scripts/install_sbt.sh
- ./scripts/install.sh
addons:
apt:
packages:
- jflex
- haskell-platform
- rpm
- fakeroot
script:
- ./scripts/build-subprojects.sh
# before_cache:
# - find $HOME/.sbt -name "*.lock" -type f -delete
# - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
cache:
false
# timeout: 360 # default is 180
# directories:
# - "$HOME/.ivy2/cache"
# - "$HOME/.sbt"
# - "$HOME/.coursier"
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
branches:
only:
- master
- /^release-.*$/
on:
tags: true
notifications:
email:
recipients: [email protected]
on_success: never
on_failure: always