This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
forked from vinograt/postgresql-async
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 3.11 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
language: scala
sudo: required
scala:
- 2.12.13
jdk:
- oraclejdk8
cache:
directories:
- vendor/bundle
- $HOME/.m2
- $HOME/.ivy2
- $HOME/.sbt
stages:
- "test"
- "publish"
jobs:
include:
- stage: "test"
sudo: required
dist: trusty
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.24.0
before_install:
- sudo service postgresql stop
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
before_script:
- docker-compose build
- docker-compose up -d
after_script:
- docker-compose down
script: "sbt ++$TRAVIS_SCALA_VERSION test"
- stage: "publish"
if: (NOT type IN (pull_request)) AND (branch = master)
sudo: required
dist: trusty
env:
- secure: b7G9jr0/nK7M3MsYcRO7qaUq6QiDVCmnmKqyxwHlbtdOSJInUDQIqwiN69FUiOdIToYvrT//vZ5Gie6nU78WyqqWq40rhRTymaegBUnlECycz7ZIAtCecHwuz7BSoUB7H420ZR+UiiWnsWcYrGBHLWgn/YrWQQZ2Rt37gX/4Q2cPVOqsCGhjhk0F5bopNgpQpRKIaQalJUPzu6DqXN7YGsmucoQc3FCxuq5+Hh8w4TROuIzlZpvWYREd4FRyU7JB7jrPPYWPFjq/o+TB5jBorSdmYT59hgtK06YzLL1V0bnyrPTy3GnB9F76XerhFqJjuGo7ln2ntm+G9r0Vxn3nYrPTLKG7K8BiQmGcXKk78SkAN9l+kcqkjwA4xyh9NO9OV+XAQREFN1DUBfLvNfRrujHQ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