-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (65 loc) · 1.7 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
branches:
only:
- master
before_install:
- git config --global user.name "$USER"
- git config --global user.email "$TRAVIS_BUILD_NUMBER@$TRAVIS_COMMIT"
# Decrypt the secret deploy key using instructions from `travis encrypt-file`
- openssl aes-256-cbc -K $encrypted_f9acf5863144_key -iv $encrypted_f9acf5863144_iv -in project/travis-deploy-key.enc -out project/travis-deploy-key -d
- chmod 600 project/travis-deploy-key
# Start ssh-agent in the background and load the deploy key
- eval "$(ssh-agent -s)"
- ssh-add project/travis-deploy-key
notifications:
email:
recipients:
- github@quadstingray.com
script:
- echo ''
os: linux
addons:
apt:
packages:
- oracle-java8-installer
jobs:
include:
- stage: SBT Test
name: "Test with Oracle JDK 8"
language: scala
scala: 2.12.7
os: linux
jdk: oraclejdk8
script: 'sbt test'
- stage: SBT Test
name: "Test with OpenJDK 8"
language: scala
scala: 2.12.7
os: linux
jdk: openjdk8
script: 'sbt test'
- stage: SBT Test
name: "Test with Oracle JDK 11"
language: scala
scala: 2.12.7
os: linux
jdk: oraclejdk11
script: 'sbt test'
- stage: SBT Test
name: "Test with OpenJDK 11"
language: scala
scala: 2.12.7
os: linux
jdk: openjdk11
script: 'sbt test'
- stage: SBT Publish
language: scala
scala: 2.12.7
os: linux
jdk: oraclejdk8
script: '/bin/bash "$TRAVIS_BUILD_DIR/.travis.publish.sh"'
- stage: Release and Build Docu
language: scala
scala: 2.12.7
os: linux
jdk: oraclejdk8
script: '/bin/bash "$TRAVIS_BUILD_DIR/.travis.release.sh"'