mirror of https://github.com/statping/statping
travis-ci updates
parent
f872e57adc
commit
14e39d7175
|
@ -39,7 +39,7 @@ install:
|
|||
- npm install -g cross-env
|
||||
- pip install --user awscli
|
||||
- go mod vendor
|
||||
- make test-deps clean compile install
|
||||
- make test-deps yarn clean compile install
|
||||
before_script:
|
||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
|
||||
- psql -c 'create database test;' -U postgres
|
||||
|
|
4
Makefile
4
Makefile
|
@ -114,6 +114,10 @@ frontend-build:
|
|||
frontend-copy:
|
||||
cp -r source/tmpl/*.* source/dist/
|
||||
|
||||
yarn:
|
||||
rm -rf source/dist && rm -rf frontend/dist
|
||||
cd frontend && yarn
|
||||
|
||||
# compile assets using SASS and Rice. compiles scss -> css, and run rice embed-go
|
||||
compile: generate frontend-build
|
||||
rm -f source/rice-box.go
|
||||
|
|
Loading…
Reference in New Issue