mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fix travis by extracting a separate script
This commit is contained in:
parent
96589abf7b
commit
9f90a14075
2 changed files with 3 additions and 1 deletions
|
@ -7,4 +7,4 @@ before_install:
|
|||
install:
|
||||
- sudo cpanm Test::TrailingSpace
|
||||
- which python
|
||||
script: "PATH=\"$(perl -lE 'my @p = split/:/,$ENV{PATH}; print join q#:#, grep { ! m#\A/opt/python# } @p;')\" make test"
|
||||
script: "sh -x scripts/travis-ci-build"
|
||||
|
|
2
scripts/travis-ci-build
Normal file
2
scripts/travis-ci-build
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
PATH="$(perl -lE 'my @p = split/:/,$ENV{PATH}; print join q#:#, grep { ! m#\A/opt/python# } @p;')" make test || exit -1
|
Loading…
Add table
Reference in a new issue