Skip to content

Commit

Permalink
Merge pull request #6 from pyomeca/VizExample
Browse files Browse the repository at this point in the history
Brand new biorbd viz
  • Loading branch information
pariterre authored Jun 9, 2019
2 parents 9227c8d + ef49583 commit 54b5eda
Show file tree
Hide file tree
Showing 31 changed files with 2,780 additions and 3,991 deletions.
9 changes: 0 additions & 9 deletions .codacy.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .coveragerc

This file was deleted.

2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ venv.bak/
/.idea

*altair-data*

*.npy
34 changes: 22 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
# Config file for automatic testing at travis-ci.org
language: python

matrix:
include:
- os: linux
dist: trusty

before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
# Add stuff for Python3 tests as well
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
bash miniconda.sh -b -p $HOME/miniconda;
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
bash miniconda.sh -b -p $HOME/miniconda;
elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
choco install miniconda3 --params="'/AddToPath:1'";
export PATH="/c/tools/miniconda3/scripts:/c/tools/miniconda3/:$PATH";
fi
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --set auto_update_conda no
- conda update -q conda
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then conda update -q conda; fi

install:
- curl -L https://github.com/pyomeca/conda_recipes/raw/master/pyoviz/meta.yaml --create-dirs -o ./conda.recipe/meta.yaml
- cd conda.recipe
- conda install conda-build anaconda-client pytest pytest-cov
- conda build . --no-test -c pyomeca
- cd ..
- conda install --use-local pyoviz -c pyomeca
- conda info -a
- conda env update -n root -f environment.yml
- source activate root
- python setup.py install

script:
- pytest -v --color=yes --cov=pyoviz tests
- conda install pytest
- xvfb-run --server-args="-screen 0 1024x768x24" pytest -v --color=yes testsTravis

after_success:
- conda install -c conda-forge codecov
Expand Down
Loading

0 comments on commit 54b5eda

Please sign in to comment.