-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
32 lines (30 loc) · 827 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
dist: xenial
language: scala
sudo: true
scala: 2.12.7
addons:
apt:
packages:
- conntrack
jdk:
- openjdk8
branches:
only:
- master
before_install:
- chmod +x install-protobuf.sh
- ./install-protobuf.sh
script:
- sbt coverage test
# - sbt ++$TRAVIS_SCALA_VERSION compile
# - sbt ++$TRAVIS_SCALA_VERSION test
# - sbt ++$TRAVIS_SCALA_VERSION package
# - sbt ++$TRAVIS_SCALA_VERSION protobuf:protobufGenerate
after_success:
- sbt coverageReport coveralls
- sbt ++$TRAVIS_SCALA_VERSION docker:stage
- sbt ++$TRAVIS_SCALA_VERSION docker:publishLocal
# Log in to the docker CLI. Log in to docker in a single command line
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_ID" --password-stdin
# take the images and push them to docker.hub
- docker push felipeogutierrez/explore-akka:1.1