Skip to content

Commit

Permalink
Fixed the travis for py3 (#49)
Browse files Browse the repository at this point in the history
* Updated pyofm, installation guide, and travis.

* Fixed the travis config for py3.
  • Loading branch information
friedenhe authored Apr 28, 2020
1 parent b5123bd commit 6bc6c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ install:
# Download input.tar.gz
- docker exec -it regtest /bin/bash -c "cd $DOCKER_WORKING_DIR/python/reg_tests && rm -rf input.tar.gz && wget https://github.com/mdolab/dafoam/raw/master/python/reg_tests/input.tar.gz && tar -xzf input.tar.gz"
# Compile
- docker exec -it regtest /bin/bash -c ". /home/dafoamuser/.bashrc && cd $DOCKER_WORKING_DIR && ./Allwmake"
- docker exec -it regtest /bin/bash -c ". /home/dafoamuser/setupDAFoam.sh && cd $DOCKER_WORKING_DIR && ./Allwmake"

script:
# Run tests
- docker exec -it regtest /bin/bash -c ". /home/dafoamuser/.bashrc && cd $DOCKER_WORKING_DIR/python/reg_tests && python run_reg_tests.py"
- docker exec -it regtest /bin/bash -c ". /home/dafoamuser/setupDAFoam.sh && cd $DOCKER_WORKING_DIR/python/reg_tests && python run_reg_tests.py"

after_script:
- docker rm -f regtest

0 comments on commit 6bc6c76

Please sign in to comment.