Commit 62cbbdc6 authored by vipwzw's avatar vipwzw Committed by 33cn

speed up build

parent fcefc56c
...@@ -5,9 +5,9 @@ dist: xenial ...@@ -5,9 +5,9 @@ dist: xenial
notifications: notifications:
email: false email: false
jobs: matrix:
include: include:
- stage: check_fmt - name: check_fmt
sudo: require sudo: require
go: "1.11.x" go: "1.11.x"
install: install:
...@@ -20,30 +20,31 @@ jobs: ...@@ -20,30 +20,31 @@ jobs:
- make checkgofmt && make fmt_go - make checkgofmt && make fmt_go
- make linter - make linter
- stage: unit-test - name: unit-test
go: "1.9.x" go: "1.9.x"
install: skip install: skip
script: script:
- make test - make test
- stage: auto-test - name: auto-test
go: "1.9.x" go: "1.9.x"
install: skip install: skip
before_script: make build_ci before_script: make build_ci
script: script:
- make autotest dapp=all - make autotest dapp=all
- stage: coverage - name: coverage
if: branch = master if: branch = master
go: "1.9.x" go: "1.9.x"
before_install:
- go get -t -v ./...
install: skip install: skip
script: script:
- make coverage - make coverage
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
- name: deploy
- stage: deploy
if: env(DAPP) IS present if: env(DAPP) IS present
sudo: required sudo: required
services: services:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment