forked from kaitai-io/kaitai_struct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (35 loc) · 1010 Bytes
/
.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
dist: xenial
sudo: false
language: scala
scala:
- 2.12.4
cache:
directories:
- $HOME/.ivy2
addons:
apt:
packages:
# Debian package build
- dpkg
- dpkg-sig
- dpkg-dev
- lintian
- fakeroot
script:
- cd compiler
- export GIT_COMMIT=$(git log -1 --format=%h)
- export GIT_DATE_ISO=$(TZ=UTC git log -1 --date=iso-strict-local --format=%cd)
- export GIT_DATE=$(TZ=UTC git log -1 --date=format-local:%Y%m%d.%H%M%S --format=%cd)
- export KAITAI_STRUCT_VERSION=0.9-SNAPSHOT${GIT_DATE}.${GIT_COMMIT}
- sbt compile compilerJVM/stage fastOptJS buildNpmJsFile buildNpmPackage compilerJVM/debian:packageBin compilerJVM/universal:packageBin
- ./publish_deb_to_bintray.sh && ../trigger-kaitai_struct_python_docker
- ./publish_zip_to_bintray.sh
- ./publish_js_to_npm.sh
- cd ../tests
- ./translator-tests || true
- ./build-formats
- ./publish-targets
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c6bd60df4d171f9d3789