-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
66 lines (63 loc) · 5.48 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
54
55
56
57
58
59
60
61
62
63
64
65
66
git:
submodules: false
jobs:
include:
- stage: Roaster
language: node_js
node_js:
- "10"
sudo: false
before_install:
- cd ./www
script:
- npm run lint
- npm run build
- npm test
- stage: Roaster
language: go
before_install:
- sudo apt-get install -y python3 python3-pip
- sudo pip3 install -r requirements.freeze.txt
addons:
apt:
update: true
go:
- 1.11.x
env:
- GO111MODULE=on
install: skip
script:
- travis_retry go build github.com/LuleaUniversityOfTechnology/2018-project-roaster/cmd/...
- go test -v -cover -race -covermode=atomic -coverprofile=profile.cov ./...
- travis_retry go run golang.org/x/lint/golint -min_confidence 0.0 -set_exit_status ./...
after_success:
- travis_retry go run github.com/mattn/goveralls -coverprofile=profile.cov -service=travis-ci
- stage: Deploy
if: branch = master AND type = push
sudo: required
services:
- docker
script:
- tool/build-production.sh
before_deploy:
- git add --force build Dockerfile
deploy:
provider: elasticbeanstalk
edge:
branch: ebignore
access_key_id:
secure: MnyzuNOu1Kwj3Ol6msXAiEDbiXaY24xPxJzbBXd9ZG3k9NR7G3O/aHPEFeeYQ13VTPZL9/+YaS+tU9Hxv79DoVup7ZyeO/P8jsmn2vAUrSH2tBQLB6IEk0yFo5tU45JTU0O/Nf2+MFcWlpHavKaUL2pwxMlftn00+WHe4jqCgGYy2bcxYeIbC6D3J59mTb8i18SzAGopx5HoOGRmfUbg3VHD0kQOEuRACmHKI0XbkfTI7BRQr/Tbmvk69lOmA5XnHdVilv+gtB+zWmDujjOYn5wRKf4o2NKQbyO5qbV5y/6/trloKKQHZHT1tPDOKeb6lkRva4fvYP6WBF70HklapxBIgBZs+2lWUidkIxBVrV/uDXbyenvpFi7K1NQ66Vow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