Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

add new step

goenningc0cf318fe150
diff --git a/Makefile b/Makefile
index e7cf01d0a..cb38a1a0e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ define tag_docker
fi
endef
+# remove this. check if test is running on WERCKER, if YES, then change .env file
ci-test:
godotenv -f .ci.env go test $$(go list ./... | grep -v /vendor/) -cover -p=1
diff --git a/wercker.yml b/wercker.yml
index e759ad4cc..222468c66 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -1,34 +1,25 @@
-# This references the default golang container from
-# the Docker Hub: https://registry.hub.docker.com/u/library/golang/
-# If you want Google's container you would reference google/golang
-# Read more about containers on our dev center
-# http://devcenter.wercker.com/docs/containers/index.html
box: golang:1.8
-# This is the build pipeline. Pipelines are the core of wercker
-# Read more about pipelines on our dev center
-# http://devcenter.wercker.com/docs/pipelines/index.html
-# You can also use services such as databases. Read more on our dev center:
-# http://devcenter.wercker.com/docs/services/index.html
-# services:
- # - postgres
- # http://devcenter.wercker.com/docs/services/postgresql.html
+services:
+ - id: postgres
+ tag: 9.6
+ env:
+ POSTGRES_USER: wechy_test
+ POSTGRES_PASSWORD: wechy_test-pw
- # - mongo
- # http://devcenter.wercker.com/docs/services/mongodb.html
-build:
- services:
- - id: postgres
- tag: 9.6
- env:
- POSTGRES_USER: wechy_test
- POSTGRES_PASSWORD: wechy_test-pw
+build-assets:
+ box: node:6.10
+ steps:
+ - script:
+ name: npm install
+ code: |
+ npm install
+build:
steps:
- # Sets the go workspace and places you package
- # at the right place in the workspace tree
- setup-go-workspace
+ # Get dependencies
- script:
name: get dotenv
code: |