forked from vinyldns/vinyldns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 1.76 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
language: scala
scala:
- 2.12.11
python:
- 2.7
sudo: false
jdk:
- openjdk11
services:
- docker
cache:
pip: true
bundler: true
npm: true
directories:
- "$HOME/.sbt/1.0"
- "$HOME/.sbt/boot/scala*"
- "$HOME/.sbt/cache"
- "$HOME/.sbt/launchers"
- "$HOME/.ivy2/cache"
- "$HOME/.coursier"
timeout: 900
before_install:
- gem update --system
install:
- gem install sass jekyll:3.2.1
before_cache:
- du -h -d 1 $HOME/.ivy2/
- du -h -d 2 $HOME/.sbt/
- du -h -d 4 $HOME/.coursier/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
- find $HOME/.coursier/cache -name "*.lock" -type f -delete
jobs:
include:
- name: Validate and verify modules
script: sbt -v ++$TRAVIS_SCALA_VERSION ";validate; verify" && bash <(curl -s https://codecov.io/bash)
- name: Run API and portal functional tests
script: "./bin/func-test-portal.sh && ./bin/func-test-api-travis.sh"
- stage: Deploy
if: branch = master AND type = push
name: Deploy doc site
script: sbt ";project docs; publishMicrosite";
notifications:
slack:
secure: nWOgq1vE2y0rzIKMr0hbRiwE7mbiTcvUZ/8LxpPC1hucZTq/2NWGMEhtsW/OXHN2JPpmXb0w8b8eopk81sxqLMheLvwYn/yoSjDBNt07viE3D54WJlLhggRVCjAGPloAZy7rQ2cPOCJ/Jq4opKRValoC7r59aOjSJYuKQS6cFJ34Tm3jsf1xHnX/AfAmWJf5080AJBihcdREs3Yh4ZxohZo71Imnvnxa+bY/+VscBarsKAsjPWJJ523Kdh/XA35tBIDsYkQ80VL350TXypEyu9JuLWXjlZx7B//+TDCUOryuERdc2y1QkrCSVzPPgIHCD5GPeuEqoHAk9fUO18jBZtex7oAdVFCD+jZcsNeJHcSdgjAO+L/ShNmzBuTdfi0janEms45GBhB1fE5qjGH4hO/IrFilUMVJ4imJchZbPxkh8Te0wmWF+pbGUUzZ6JH/iXGyGTsuwCvoKutwyyiGZBAlXgq3auiJcpRRHB0TLtBNInEZNmJ5XL+BYEl/FK4R9eYMHGspCQFxOgvdJO/IF+j/9dqC4gPPMNxG+S4uT0yXwOgaHOR2dxLTzq0gX5WjGh2poeKjLEDp1viH7cVJmeYz38Bp1cUEVUU5bZQgqt6v/3avcRIV9opBrK5afdjiJIaaxU4DnLP4/AK4By4ktv6zLsVTa2OrfUiRdi4d53Y=