Skip to content

Commit

Permalink
Merge pull request #21 from bbrelje/pyGeo
Browse files Browse the repository at this point in the history
Create local test runner
  • Loading branch information
bbrelje authored Oct 24, 2019
2 parents c13d79c + f6dfafa commit b16bb5d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pyc
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ install: skip

before_script:
- docker pull benjaminbrelje/mdolabfull:latest
- ls

script:
- docker run -v $(pwd):/root/test/pygeo --rm benjaminbrelje/mdolabfull:latest /bin/sh -c ". /root/.bashrc && cd /root/test && python -m pytest pygeo/tests/reg_tests"
- bash run_tests.bash
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.com/mdolab/pygeo.svg?branch=pyGeo)](https://travis-ci.com/mdolab/pygeo)

pyGeo
====================================================

Expand Down
2 changes: 2 additions & 0 deletions run_tests.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/bash
docker run -v $(pwd):/root/test/pygeo --rm benjaminbrelje/mdolabfull:latest /bin/sh -c ". /root/.bashrc_mdolab && cd /root/test && python -m pytest pygeo/tests/reg_tests"
1 change: 1 addition & 0 deletions run_tests_win.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker run -v ${pwd}:/root/test/pygeo --rm benjaminbrelje/mdolabfull:latest /bin/sh -c ". /root/.bashrc_mdolab && cd /root/test && python -m pytest pygeo/tests/reg_tests"

0 comments on commit b16bb5d

Please sign in to comment.