remove windows from drone for now
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
6bff3cd74d
commit
c725470ea2
66
.drone.yml
66
.drone.yml
|
@ -78,61 +78,6 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
|
||||||
name: windows-test
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: windows
|
|
||||||
version: 1809
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: fetch
|
|
||||||
image: golang
|
|
||||||
volumes:
|
|
||||||
- name: deps
|
|
||||||
path: C:\godeps
|
|
||||||
environment:
|
|
||||||
GOPATH: C:\godeps
|
|
||||||
commands:
|
|
||||||
- go get
|
|
||||||
|
|
||||||
- name: units-tests
|
|
||||||
image: golang
|
|
||||||
volumes:
|
|
||||||
- name: deps
|
|
||||||
path: C:\godeps
|
|
||||||
environment:
|
|
||||||
GOPATH: C:\godeps
|
|
||||||
commands:
|
|
||||||
- go test -race ${1} -v ./metrics
|
|
||||||
- go test -race ${1} -v ./storage
|
|
||||||
- go test -race ${1} -v ./
|
|
||||||
|
|
||||||
- name: test-builda-app
|
|
||||||
image: golang
|
|
||||||
volumes:
|
|
||||||
- name: deps
|
|
||||||
path: C:\godeps
|
|
||||||
environment:
|
|
||||||
GOPATH: C:\godeps
|
|
||||||
commands:
|
|
||||||
- cd app
|
|
||||||
- go build
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
# gopath where bin and pkg lives to persist across steps
|
|
||||||
- name: deps
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
repo: cwtch.im/server
|
|
||||||
branch: trunk
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
- tag
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: exec
|
type: exec
|
||||||
name: mac-test
|
name: mac-test
|
||||||
|
|
||||||
|
@ -145,9 +90,8 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
environment:
|
|
||||||
PATH: PATH=$PATH:/usr/local/go/bin/
|
|
||||||
commands:
|
commands:
|
||||||
|
- export PATH=$PATH:/usr/local/go/bin
|
||||||
- go get -u golang.org/x/lint/golint
|
- go get -u golang.org/x/lint/golint
|
||||||
- go get
|
- go get
|
||||||
|
|
||||||
|
@ -155,18 +99,16 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
environment:
|
|
||||||
PATH: PATH=$PATH:/usr/local/go/bin/
|
|
||||||
commands:
|
commands:
|
||||||
|
- export PATH=$PATH:/usr/local/go/bin
|
||||||
- sh testing/tests.sh
|
- sh testing/tests.sh
|
||||||
|
|
||||||
- name: test-builda-app
|
- name: test-builda-app
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
environment:
|
|
||||||
PATH: PATH=$PATH:/usr/local/go/bin/
|
|
||||||
commands:
|
commands:
|
||||||
|
- export PATH=$PATH:/usr/local/go/bin
|
||||||
- cd app
|
- cd app
|
||||||
- go build
|
- go build
|
||||||
|
|
||||||
|
@ -183,3 +125,5 @@ trigger:
|
||||||
- pull_request
|
- pull_request
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
|
# TODO: windows: but need windows docker containers with
|
||||||
|
# go + gcc to compile sqlite. Will prolly come from likewise work for Cwtch
|
||||||
|
|
Loading…
Reference in New Issue