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,29 +9,32 @@ brew install pyenv-virtualenv ...@@ -9,29 +9,32 @@ 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 shell 3.5.0
pyenv virtualenv sakia-env
cd $HOME
wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.17/sip-4.17.tar.gz
tar xzf sip-4.17.tar.gz
cd sip-4.17/
pyenv activate sakia-env pyenv activate sakia-env
python configure.py if [ ] then
make && make install env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install $PYENV_PYTHON_VERSION
pyenv rehash
pyenv shell $PYENV_PYTHON_VERSION
cd $HOME pyenv virtualenv sakia-env
wget http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz cd $HOME
tar xzf PyQt-gpl-5.5.1.tar.gz
cd PyQt-gpl-5.5.1/ wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.17/sip-4.17.tar.gz
pyenv activate sakia-env tar xzf sip-4.17.tar.gz
python configure.py --verbose --confirm-license cd sip-4.17/
make && make install pyenv activate sakia-env
pyenv rehash python configure.py
make && make install
cd $HOME/sakia pyenv rehash
\ No newline at end of file
cd $HOME
wget http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz
tar xzf PyQt-gpl-5.5.1.tar.gz
cd PyQt-gpl-5.5.1/
pyenv activate sakia-env
python configure.py --verbose --confirm-license
make && make install
pyenv rehash
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.
Finish editing this message first!
Please register or to comment