Attempt to fix gitlab ci tests

This commit is contained in:
Timothy Warren 2018-02-13 11:01:35 -05:00
parent 16da54cb63
commit 5d1d33b087
2 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// Load the test config file
const configFile = './config.json';
const configFile = process.env.CI ? './config-ci.json': './config.json';
module.exports = {
config: require(configFile),

View File

@ -8,6 +8,3 @@ set -xe
# 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
apk add --no-cache git yarn sqlite
# Replace test config with docker config file
mv "./test/config-ci.json" "./test/config.json"