Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
76270332
Commit
76270332
authored
Jul 30, 2016
by
David Haynes
Browse files
Break up gitlab-ci between building and testing
- yess it's working
parent
8b8c0b38
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
76270332
...
...
@@ -3,11 +3,16 @@ image: ubuntu:14.04
services
:
-
mysql:latest
types
:
-
build
-
test
variables
:
MYSQL_DATABASE
:
go
MYSQL_ROOT_PASSWORD
:
root
test
:
build_Go
:
type
:
build
script
:
-
apt-get update -qy
-
apt-get install -y python-dev python-pip python-pip libldap2-dev mysql-client libmysqlclient-dev python-mysqldb libsasl2-dev libjpeg-dev git
...
...
@@ -26,4 +31,8 @@ test:
-
python manage.py makemigrations go
-
python manage.py migrate
-
echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('root', 'root@srct.gmu.edu', 'root') " | python ./manage.py shell
test_Go
:
type
:
test
script
:
-
python manage.py test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment