Abhilash Raj pushed to branch master at mailman / Mailman

Commits:
e9392a36 by Abhilash Raj at 2016-01-23T21:09:10-08:00
Add docker images to .gitlab-ci.yml, Contributed by Simon Hanna (!72)

Add variables to create databases in postgres and mysql

- - - - -
36f79f58 by Abhilash Raj at 2016-01-23T21:32:47-08:00
remove tags for sqlite to run with specific runners

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,24 @@
 # This is core test runner
-before_script:
-  - pip install tox
+
+image: maxking/mailman-ci-runner
+
+variables:
+  POSTGRES_DB: "mailman_test"
+  POSTGRES_USER: "runner"
+  POSTGRES_PASSWORD: "runner"
+  MYSQL_ROOT_PASSWORD: "runner"
+  MYSQL_USER: "runner"
+  MYSQL_USER_PASSWORD: "runner"
+  MYSQL_DATABASE: "test_mailman"
 
 sqlite:
   script:
   - tox
 
-  tags:
-  - sqlite
-
-
 pgsql:
+  services:
+  - postgres:latest
   script:
-  - MAILMAN_EXTRA_TESTING_CFG=/data/postgres.cfg tox -e pg
-
+  - MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/postgres.cfg tox -e pg
   tags:
   - postgres



View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/006df3389eef7112f8d83a5e13184b5ac04565a5...36f79f586e7ee82d574588c8114d2ac71a152edb
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to