47 строки
688 B
YAML
47 строки
688 B
YAML
sudo: required
|
|
|
|
language: scala
|
|
|
|
jdk:
|
|
- oraclejdk8
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- net-tools
|
|
|
|
cache:
|
|
directories:
|
|
- "$HOME/.ivy2/cache"
|
|
- "$HOME/.sbt/boot/"
|
|
|
|
before_cache:
|
|
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
|
|
- find $HOME/.sbt -name "*.lock" -delete
|
|
|
|
services:
|
|
- docker
|
|
|
|
scala:
|
|
- 2.11.8
|
|
|
|
env:
|
|
- DOCKER_DIR="../docker/"
|
|
|
|
script:
|
|
- sbt ci
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
before_deploy:
|
|
- export JAR="target/scala-2.11/telemetry-streaming-assembly-0.1-SNAPSHOT.jar"
|
|
|
|
deploy:
|
|
- provider: script
|
|
script: bash deploy.sh
|
|
skip_cleanup: true
|
|
on:
|
|
repo: mozilla/telemetry-streaming
|
|
all_branches: true
|