Skip to content

Commit fedec9d

Browse files
author
Daniel Jimenez
committed
Refactor CI tests set up
1 parent 3e4dfc6 commit fedec9d

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ before_install:
1212
# Requirement for 'test-local-deployment'
1313
- pip install --user awscli
1414
- export PATH=$PATH:$HOME/.local/bin
15-
before_script:
16-
- _script/start-pg
1715
gobuild_args: -a -tags netgo -ldflags '-w'
1816
go_import_path: github.com/adevinta/vulnerability-db
1917
script:
2018
- go install ./...
21-
- go test -v -tags integration $(go list ./... | grep -v /vendor/) ./test
19+
- _script/test
2220
after_success:
2321
- bash -c 'source <(curl -s https://raw.githubusercontent.com/adevinta/vulcan-cicd/master/docker.sh)'
2422
- cd local_deployment

_script/start-pg

-11
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)