Fix ci yaml file
This commit is contained in:
parent
a5eb0795c9
commit
7edb5f1df0
@ -5,7 +5,7 @@ before_script:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
- mariadb:latest
|
- mariadb:latest
|
||||||
- postgres: alpine
|
- postgres:alpine
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
MYSQL_ROOT_PASSWORD: foo-bar-baz
|
MYSQL_ROOT_PASSWORD: foo-bar-baz
|
||||||
@ -24,8 +24,8 @@ cache:
|
|||||||
|
|
||||||
test:6:
|
test:6:
|
||||||
image: node:6-alpine
|
image: node:6-alpine
|
||||||
script: npm run test
|
script: yarn run test
|
||||||
|
|
||||||
test:latest:
|
test:latest:
|
||||||
image: node:alpine
|
image: node:alpine
|
||||||
script: npm run test
|
script: yarn run test
|
||||||
|
@ -11,6 +11,7 @@ set -xe
|
|||||||
# Install sqlite3
|
# Install sqlite3
|
||||||
echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
|
echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
|
||||||
apk add --no-cache git yarn sqlite3 libsqlite3
|
apk add --no-cache git yarn sqlite3 libsqlite3
|
||||||
|
npm install pg sqlite3 dblite mysql2
|
||||||
|
|
||||||
# Replace test config with docker config file
|
# Replace test config with docker config file
|
||||||
mv "$DIR/config-ci.json" "$DIR/config.json"
|
mv "$DIR/config-ci.json" "$DIR/config.json"
|
Loading…
Reference in New Issue
Block a user