forked from honeytrap/honeytrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (34 loc) · 926 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: go
go:
- 1.9.1
sudo: required
dist: trusty
go_import_path: github.com/honeytrap/honeytrap
services:
- docker
os:
- linux
env:
- ARCH=x86_64
addons:
apt:
packages:
- lxc
install:
- sudo apt-get install -y software-properties-common python-software-properties
- sudo add-apt-repository -y ppa:ubuntu-lxc/stable
- sudo apt-get update -qq
- sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" lxc-dev
- go get -u -v github.com/alecthomas/gometalinter
- go get -u -v github.com/honeytrap/honeytrap
- gometalinter --install
script:
# - gometalinter --deadline 2m --errors --vendor ./...
- go test -v ./...
- go test -race -coverprofile=coverage.txt -covermode=atomic
- go build ./...
- GOARCH=arm go build ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
-notifications:
slack: honeycast:P9gQukyVSKgFEyoGh2efeK1H