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
env:
- PYENV_PYTHON_VERSION=3.5.0
before_install:
# Install and configure pyenv
- ci/travis/before_install.sh
install:
- pyenv activate sakia-env
- pip install coveralls cx_Freeze
- pip install -r requirements.txt
- python gen_resources.py
......@@ -16,3 +19,7 @@ script:
after_success:
- coverage -rm
- coveralls
cache:
directories:
- $HOME/.pyenv
\ No newline at end of file
......@@ -9,29 +9,32 @@ brew install pyenv-virtualenv
eval "$(pyenv 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
python configure.py
make && make install
pyenv rehash
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
\ No newline at end of file
if [ ] then
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install $PYENV_PYTHON_VERSION
pyenv shell $PYENV_PYTHON_VERSION
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
python configure.py
make && make install
pyenv rehash
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