forked from UrbanOS-Public/smartcitiesdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (53 loc) · 1.5 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
language: elixir
elixir:
- '1.8.1'
otp_release:
- '21.3'
services:
- docker
cache:
directories:
- deps
- _build/dev
- _build/test
- _build/integration
before_cache:
- bash scripts/travis-uncache.sh
jobs:
include:
- stage: build
name: static analysis
script: bash scripts/travis-verify.sh
- name: unit test
script: mix test
- name: pipeline
script: bash scripts/travis-test.sh pipeline
- name: dead_letter
script: bash scripts/travis-test.sh dead_letter
- name: e2e
script: bash scripts/travis-test.sh e2e
- name: andi
script: bash scripts/travis-test.sh andi
- name: flair
script: bash scripts/travis-test.sh flair
- name: forklift
script: bash scripts/travis-test.sh forklift
- name: valkyrie
script: bash scripts/travis-test.sh valkyrie
- name: reaper
script: bash scripts/travis-test.sh reaper
- name: estuary
script: bash scripts/travis-test.sh estuary
- name: discovery_streams
script: bash scripts/travis-test.sh discovery_streams
- stage: publish
name: development
if: branch == master && type != pull_request
script: bash scripts/travis-publish.sh
- name: release
if: tag =~ /^(andi|reaper|valkyrie|forklift|flair|estuary|discovery_streams|odo)@\d{1,3}\.\d{1,3}\.\d{1,3}$/
script: bash scripts/travis-publish.sh
branches:
only:
- master
- /(andi|reaper|valkyrie|forklift|flair|estuary|discovery_streams|odo)@\d{1,3}\.\d{1,3}\.\d{1,3}/