https://github.com/mit-gfx/diff_stokes_flow
Raw File
Tip revision: 55eb7c0f3a9d58a50c1a09c2231177b81e0da84e authored by Tao Du on 11 December 2020, 03:55:44 UTC
Create LICENSE
Tip revision: 55eb7c0
.travis.yml
# Reference:
# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/use-conda-with-travis-ci.html

dist: bionic
branches:
  only:
    - master
language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "3.7"
install:
  - sudo apt update
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - source "$HOME/miniconda/etc/profile.d/conda.sh"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda.
  - conda info -a

  # Installation.
  - conda env create -f environment.yml
  - conda activate diff_stokes_flow
  - bash install.sh
script:
  # Your test script goes here
  - cd python/example
  - python run_all_tests.py
back to top