forked from uber-archive/makisu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 922 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
sudo: required
language: go
go:
- 1.12.6
services:
- docker
before_install:
- sudo apt-get update
- sudo apt-get install python3-setuptools python3-pip python3
- pip3 install virtualenv --user
before_script:
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"
env:
global:
- PATH=/opt/python/3.7.1/bin:~/.local/bin:$PATH
- GOPATH="" GO111MODULE=on
jobs:
include:
- stage: "Tests"
name: "Unit Tests"
script:
- "chmod -R a+rw . || true"
- "make cunit-test"
- name: "Integration Tests"
script:
- "chmod -R a+rw . || true"
- ls /opt/python/3.7.1/bin && python --version && which virtualenv
- "make integration"
- stage: "Compliance"
name: "Fossa Check"
script:
- "chmod -R a+rw . || true"
- "fossa --option allow-unresolved:true"