Skip to content
Snippets Groups Projects
Commit 086603bd authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add Travis build with pystencils from pip

parent 2652d069
No related branches found
No related tags found
No related merge requests found
Pipeline #17340 failed
...@@ -14,11 +14,18 @@ addons: ...@@ -14,11 +14,18 @@ addons:
update: true update: true
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures:
- name: "Pystencils from pip"
include: include:
- python: 3.6 - python: 3.6
env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py36" COVERAGE="true" LINT="false" env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py36" COVERAGE="true" LINT="false"
before_install: before_install:
- sudo apt-get install -y ninja-build build-essential nvidia-cuda-toolkit - sudo apt-get install -y ninja-build build-essential nvidia-cuda-toolkit
- python: 3.6
name: "Pystencils from pip"
env: DISTRIB="ubuntu" TOX_PYTHON_VERSION="py36" COVERAGE="true" LINT="false" PYSTENCIL_FROM_PIP="true"
before_install:
- sudo apt-get install -y ninja-build build-essential nvidia-cuda-toolkit
- name: "Conda" - name: "Conda"
env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false" LINT="false" env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false" LINT="false"
before_install: before_install:
......
...@@ -194,12 +194,3 @@ def test_execute_torch_gpu(): ...@@ -194,12 +194,3 @@ def test_execute_torch_gpu():
print(y_tensor) print(y_tensor)
print(rtn) print(rtn)
def main():
test_jit()
test_torch_native_compilation()
# test_generate_torch()
# test_execute_torch()
main()
...@@ -50,11 +50,3 @@ def test_simple_2d_check_raw_assignments(): ...@@ -50,11 +50,3 @@ def test_simple_2d_check_raw_assignments():
pystencils_autodiff.create_backward_assignments( pystencils_autodiff.create_backward_assignments(
forward_assignments, diff_mode=diff_mode) forward_assignments, diff_mode=diff_mode)
def main():
test_simple_2d_check_assignment_collection()
test_simple_2d_check_raw_assignments()
if __name__ == '__main__':
main()
...@@ -247,14 +247,3 @@ def test_tfmad_two_outputs(): ...@@ -247,14 +247,3 @@ def test_tfmad_two_outputs():
print(curl_op.backward_assignments) print(curl_op.backward_assignments)
def main():
# test_tfmad_stencil()
# test_tfmad_two_stencils()
# test_tfmad_gradient_check_torch()
test_tfmad_gradient_check()
# test_tfmad_vector_input_data()
# test_tfmad_two_outputs()
if __name__ == '__main__':
main()
...@@ -45,8 +45,12 @@ pip install -U pip setuptools ...@@ -45,8 +45,12 @@ pip install -U pip setuptools
pip install tox pip install tox
pip install codecov pip install codecov
pip install sphinx pip install sphinx
# use newest pystencils
pip install git+https://github.com/mabau/pystencils.git if [[ -z "$PYSTENCIL_FROM_PIP" ]]; then
pip install git+https://github.com/mabau/pystencils.git
else
pip install pystencils
fi
pip install flake8 pip install flake8
if [[ "$COVERAGE" == "true" ]]; then if [[ "$COVERAGE" == "true" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment