Skip to content

Commit

Permalink
Squashed 'tutorial/' content from commit d96a3c3
Browse files Browse the repository at this point in the history
git-subtree-dir: tutorial
git-subtree-split: d96a3c3
  • Loading branch information
kangwonlee committed Aug 22, 2019
0 parents commit df4eaa7
Show file tree
Hide file tree
Showing 35 changed files with 5,543 additions and 0 deletions.
107 changes: 107 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# MS VS Code
.vscode/
59 changes: 59 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# ref : Francesco Mosconi, Travis + Anaconda + Jupyter, https://github.com/ghego/travis_anaconda_jupyter
# Anaconda Inc., Using conda with Travis CI, Conda documentation, https://conda.io/docs/user-guide/tasks/use-conda-with-travis-ci.html
# .travis.yml for gcc-5 compiler support on Travis CI , https://gist.github.com/cotsog/3ce84675af0d74438d91
# CodeChat, .travis.yml - Travis CI configuration, https://pythonhosted.org/CodeChat/.travis.yml.html
# Travis CI, Python example (unsupported languages), https://docs.travis-ci.com/user/multi-os/#python-example-unsupported-languages

language: shell

matrix:
include:
- env: CONDA_PYTHON=3.7.1
os: osx
- env: CONDA_PYTHON=3.7.3
os: linux
- env: CONDA_PYTHON=3.7.3
os: osx
- env: CONDA_PYTHON=2019.07
os: windows
- env: CONDA_PYTHON=2019.07
os: linux
- env: CONDA_PYTHON=2019.07
os: osx
- env: CONDA_PYTHON=nightly
os: linux
allow_failures:
- os: windows
fast_finish: true

before_cache:
- rm -rf $HOME/miniconda/locks $HOME/miniconda/pkgs $HOME/miniconda/var $HOME/miniconda/conda-meta/history $HOME/miniconda/envs/test-environment/conda-meta/history $HOME/miniconda/lib/python3.6/__pycache__ $HOME/miniconda/lib/python3.7/__pycache__;
- touch $HOME/miniconda/conda-meta/history;

cache :
directories:
- $HOME/download
- $HOME/miniconda
- $HOME/AppData/Local/Temp/chocolatey

before_install:
# When C++14 support becomes more clear, consider revision
# https://docs.travis-ci.com/user/multi-os/
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get update -qq;
fi
- . tests/before_install_nix_win_cache.sh

install:
# When C++14 support becomes more clear, consider revision
# https://docs.travis-ci.com/user/multi-os/
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update;
sudo apt-get install -qq g++-6;
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90;
fi
- . tests/install_nix_win_cache.sh

# https://lord.io/blog/2014/travis-multiple-subdirs/
script: cd tests && travis_wait 40 py.test --numprocesses=auto
Loading

0 comments on commit df4eaa7

Please sign in to comment.