Barry Warsaw pushed to branch issue190-3.0 at mailman / Mailman

Commits:
1fd0b90e by Barry Warsaw at 2016-02-06T18:31:02-05:00
Update the CI file.

- - - - -


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
 
-sqlite:
-  script:
-  - tox
+image: maxking/mailman-ci-runner
 
-  tags:
-  - sqlite
+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 -e py34,py35
 
 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 
{py34,py35}-pg
   tags:
   - postgres



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/1fd0b90eb0a4ccf970e182a2cc4d0ffb1fdf0e96
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to