Skip to content
Snippets Groups Projects
Commit dc635cf8 authored by nilstes's avatar nilstes
Browse files

feilsøk

parent 916f38ba
No related branches found
No related tags found
Loading
image: node:6
# Set up MySQL test-database
services:
- mysql:latest
# Configure test-database
variables:
MYSQL_DATABASE: db
MYSQL_ROOT_PASSWORD: password
# Create database tables
connect:
image: mysql
script:
- echo "SELECT 'OK';" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" < create_tables.sql
# Install node libraries
before_script:
- npm install
......@@ -22,17 +37,3 @@ pages:
only:
- master
# Set up MySQL test-database
services:
- mysql:latest
# Configure test-database
variables:
MYSQL_DATABASE: db
MYSQL_ROOT_PASSWORD: password
# Create database tables
connect:
image: mysql
script:
- echo "SELECT 'OK';" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" < create_tables.sql
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment