Skip to content
Snippets Groups Projects
Commit 022cd0db authored by inso's avatar inso
Browse files

Cache dependencies

parent 5d8f0919
No related branches found
No related tags found
No related merge requests found
os: osx os: osx
env:
- PYENV_PYTHON_VERSION=3.5.0
before_install: before_install:
# Install and configure pyenv # Install and configure pyenv
- ci/travis/before_install.sh - ci/travis/before_install.sh
install: install:
- pyenv activate sakia-env
- pip install coveralls cx_Freeze - pip install coveralls cx_Freeze
- pip install -r requirements.txt - pip install -r requirements.txt
- python gen_resources.py - python gen_resources.py
...@@ -16,3 +19,7 @@ script: ...@@ -16,3 +19,7 @@ script:
after_success: after_success:
- coverage -rm - coverage -rm
- coveralls - coveralls
cache:
directories:
- $HOME/.pyenv
\ No newline at end of file
...@@ -9,9 +9,11 @@ brew install pyenv-virtualenv ...@@ -9,9 +9,11 @@ brew install pyenv-virtualenv
eval "$(pyenv init -)" eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)" eval "$(pyenv virtualenv-init -)"
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.5.0 pyenv activate sakia-env
if [ ] then
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install $PYENV_PYTHON_VERSION
pyenv shell 3.5.0 pyenv shell $PYENV_PYTHON_VERSION
pyenv virtualenv sakia-env pyenv virtualenv sakia-env
cd $HOME cd $HOME
...@@ -35,3 +37,4 @@ make && make install ...@@ -35,3 +37,4 @@ make && make install
pyenv rehash pyenv rehash
cd $HOME/sakia cd $HOME/sakia
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment