Skip to content

Commit b6c49b7

Browse files
author
Alan Christie
committed
- Tests now take place on deploy (travis)
- Tweaked Jenkinsfile
1 parent 2091818 commit b6c49b7

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ os:
1919
# Our tags for PyPI distributions will be of the form `pypi-1.0.1`.
2020
stages:
2121
- name: test
22-
if: not tag is present
2322
- name: deploy
2423
if: tag is present
2524

Jenkinsfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,17 @@ pipeline {
99
stages {
1010

1111
// --------------------------------------------------------------------
12-
// Python Test
12+
// Python Tests
1313
// --------------------------------------------------------------------
1414

15-
stage ('Test') {
15+
stage ('Python2 Test') {
1616

1717
agent {
1818
label 'python-slave'
1919
}
2020

2121
steps {
2222

23-
// Crete a Python2 environment and move into it.
24-
sh 'python3.6 -m venv python3'
25-
sh '. python3/bin/activate'
26-
2723
sh 'pip install -r package-requirements.txt'
2824

2925
dir('src/python') {

0 commit comments

Comments
 (0)