-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (51 loc) · 1.73 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
language: scala
sudo: required
dist: trusty
scala:
- 2.11.11
cache:
directories:
- "$HOME/.m2"
- "$HOME/.ivy2"
- "$HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION"
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
env:
global:
- TARGET_SCALA_VERSION: 2.12.4
- GH_REF: github.com/outworkers/sql-parser.git
notifications:
slack:
- websudos:P9QNXx1ZGFnDHp3v3jUqtB8k
email:
branches:
only:
- master
- develop
jdk:
- oraclejdk8
matrix:
include:
- scala: 2.12.4
jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
before_install: unset SBT_OPTS JVM_OPTS
before_script:
- mkdir -p $HOME/.sbt/launchers/0.13.16/
- curl -L -o $HOME/.sbt/launchers/0.13.16/sbt-launch.jar https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.16/sbt-launch.jar
- travis_retry sbt "++$TRAVIS_SCALA_VERSION update"
script:
- sbt test
deploy:
provider: pages
skip_cleanup: true
github_token: "$github_token"
on:
branch: develop
dd:
secure: L8zNip/aErHXM3Q8NJvv1iv9ZkP4zKYHqU0Qb0qpYOoo+MyoS5nw/4GcYl5plxexx+rSS2uJzpvwzBCDF5rzUQZf3ix3tzOFjNu1jQvgPZ/vBJHAIiaaxZ0M5rSQxf6LT0AG5TbjbXQkYxsMu+oior5yt5mNqZgzwXt0EskPuzdFIHaTp8OmCfCjnduMThKCAi+3rwAk/xZV0M+E12mQ1xq4Xt10roOyKY2I3b9MF8QrORzhfoVxoBR7gqQGN/JPxyztwtR06nnvdGRncHrDOUtkVmt7uVOo8aT3xGLff15q4blJWJ0CXWA+YGAHq3F/y3EmG9C77N/As2zVoU3GeOrf7nfj5nY0U8/Gh55C5HY/59hA0ZJwB+plt7yffKCfA4ernCo+E7JofoMzzscivmoDvyDaqBBoa9JHSfxKvN7DrwSFxhxGZvmV/CY/ezHbXjUqux53WD9P7f/8CLKaEbWJQ01um2ajrqJS7oRGp0IURqyu90soKukvM78zIId4Tx1ISoIN7sYsMZjJWbhniMXESZP/q9FTtjLfYph14/yL/13sWSluAglcpeoGwzkwbR9o/Sj2vB+EIuc1mDKJpuF1qKw1Zob+HJbqrsYhL2FeodKBRM7eZaPNeGGt6yG86Cy9MsTGgnNCWgWZGhk9lJFtz6T/3S5gyReq8L70eMk=