This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
36 lines (36 loc) · 3.61 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
dist: trusty
language: scala
scala:
- 2.12.10
jdk:
- oraclejdk8
before_deploy:
- pip install --user release-manager==0.4.1
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
before_script:
- psql -U postgres -c "CREATE USER enricher WITH password 'supersecret1';"
- psql -U postgres -c "CREATE DATABASE sql_enrichment_test WITH OWNER = enricher;"
- psql -U postgres -d sql_enrichment_test < integration-tests/sql-enrichment-test.sql
- psql -U postgres -d sql_enrichment_test -c "GRANT ALL ON enrichment_test TO enricher;"
script:
- python integration-tests/api-lookup-test.py &
- sbt test
deploy:
- provider: script
script: release-manager --config ./.travis/release.yml --check-version --make-artifact --make-version --upload-artifact
skip_cleanup: true
on:
tags: true
- provider: script
script: sbt docker:publish
skip_cleanup: true
on:
tags: true
services:
- postgresql
env:
global:
- secure: QiQJz5xKMER4cZNure7adRM3XB/D55dKy6A7rjlbnC0JNesfYr6UBOIa5ARV7GWgppgY9/X6cYG277mYZ37YlE7ADyUKA6qC0R5Gpj/PI7oXKciYm100dPrS57bsNE+BI6Ni2dDpDKrGQTYFqF5V78JLagq5BLPfrEin7aCOQhROv0Y4pt/fQn2O0Rclo82JIylYg0uLzZlEW41/ja+KMEY35IKPg3Jobf0gueB5Ni7hqlj3zeZjbWS8s4W49AWKBrTOx5+DqsU6qnR98DI0MyPXtu6CcphHEuUsLfoGqCmu/HQUVTAGYtb3jl9ED+DyuKKN9ASFmZUJKpkg8NGIdEGvX+C044qJ2SugGye4azULI3jZw1gqmPIySfRge6vHs1yi+x/4U1KBWJam1RiMK+QojN8D5np/Xu+l9/oVjYx8dliS4hotqjWePuhkx/uQCrCGpK7nWfBPkAudiTnV4V1c7GXrsPXj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