-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (24 loc) · 823 Bytes
/
.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
sudo: false
language: go
services:
- docker
go:
- 1.7.x
install:
- go get github.com/constabulary/gb/...
- go get github.com/TIBCOSoftware/flogo-cli/...
script:
- flogo create WeatherApp
- cp app/getWeather.json ./WeatherApp
- cd WeatherApp
- flogo add activity github.com/TIBCOSoftware/flogo-contrib/activity/log
- flogo add activity github.com/TIBCOSoftware/flogo-contrib/activity/rest
- flogo add activity github.com/TIBCOSoftware/flogo-contrib/activity/reply
- flogo add trigger github.com/TIBCOSoftware/flogo-contrib/trigger/rest
- flogo add flow getWeather.json
- cp ../app/triggers.json ./bin
- flogo build
after_script:
- docker build -t mellistibco/weatherapp:latest ../
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push mellistibco/weatherapp:latest