changeset 75:09c7a9c1fac7 draft

Add CI configurations for Travis CI and bitbucket pipelines
author Lewin Bormann <lbo@spheniscida.de>
date Sat, 25 May 2019 23:28:43 +0200
parents 7532e67d2b2d
children 77b90eae4bed
files .travis.yml pipelines.yml testonly.sh
diffstat 3 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.travis.yml	Sat May 25 23:28:43 2019 +0200
@@ -0,0 +1,7 @@
+dist: xenial
+language: python
+python:
+    - "3.7"
+install:
+script:
+    - sh testonly.sh
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pipelines.yml	Sat May 25 23:28:43 2019 +0200
@@ -0,0 +1,7 @@
+image: python:3.7.2
+pipelines:
+default:
+    - step:
+        script:
+            - python --version
+            - sh testonly.sh
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testonly.sh	Sat May 25 23:28:43 2019 +0200
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+for F in pcombinators/tests/test_*; do
+    PYTHONPATH=. python3 ${F};
+done