From 6bc6c768079825f0fae43a0d07ab75bc4cca2890 Mon Sep 17 00:00:00 2001 From: Ping He Date: Mon, 27 Apr 2020 23:15:15 -0400 Subject: [PATCH] Fixed the travis for py3 (#49) * Updated pyofm, installation guide, and travis. * Fixed the travis config for py3. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 06e400d0..b20fc099 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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