-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (34 loc) · 1.38 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
language: scala
scala:
- 2.11.8
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
services:
- mysql
- redis-server
env:
- LOG_APP_LEVEL=INFO MYSQL_USER=travis MYSQL_PASSWORD=""
before_install:
- mysql -e "create database IF NOT EXISTS flowupdb;" -uroot
before_deploy:
- sbt dist
deploy:
provider: s3
region: eu-west-1
access_key_id: S3_ACCESS_KEY
secret_access_key:
secure: HVT0wuVemWvt0dhFBrE/cqm0XSKedn7PkKfq9ZBm7NuQYKiV819r4FeYRdH/yu/cr8npfei0aqiavg4knk1zsaTZvA2KZM4iB5o9uIdCGev3nf2Il/S6e5BBi7OMnnIg2RxA9myUb5E6+WzljtK51OvKF1AR+AWYiuzx7SDnaHVyprZI9JQjq/th+qAwfl4VO25PmJ7E5UQO1JjukmyvzcplnK8hOEXuiesp3Ds7o45w4PFQQwW534tF1G3fRuO54EpYcjrwr0KvVUpeHVj5jrnJ7cNkXkYqdHEsif1CygwJnFxcyPDscthQlW1GkDWa9xBS4YfePW/KICqHrIOLgMQ1lPr1QUEQpD1+Bq12YCbe18LtPOCZx6F3X/NpvaLToY6wY1Q7PshQNGcXU45HqLPtlwpVsV8Xmb3xoqs+x3eog7uAww72VPUX+wsK/LWRTh4nGiNQA8OU59VbePdEkbzHZTYp5ZlRT0ExZ5Nu+UZ2VjIjYJPFsQXoZUtM6TJMZIiTmalrnNehmS467rKJYV4FfC5na28pwoY4QWVJ6ElscOdLGbz7ggIVlDDpuBgVJDAgSBKJ58ZcD6fqomppX/8S6pxxzvBD2NizDHV4oypYJU+/vqd71yX74g8vOHoPYf3TCcpoYKCkO0eznOR9bC8Ar7BjDQiqYWE52YtBNNA=
bucket: flowupserver-builds
skip_cleanup: true
local_dir: target/universal/
on:
repo: Karumi/FlowUpServer
branch: master