cache Homebrew
This commit is contained in:
parent
908107d24f
commit
9712ef8abf
1 changed files with 4 additions and 3 deletions
|
@ -58,7 +58,7 @@ jobs:
|
||||||
name: "Linux"
|
name: "Linux"
|
||||||
env: OS=linux
|
env: OS=linux
|
||||||
install:
|
install:
|
||||||
- pip install pyinstaller
|
- pip install pyinstaller awscli
|
||||||
- cd torba && pip install -e . && cd ..
|
- cd torba && pip install -e . && cd ..
|
||||||
- cd lbry
|
- cd lbry
|
||||||
- python scripts/set_build.py
|
- python scripts/set_build.py
|
||||||
|
@ -70,7 +70,6 @@ jobs:
|
||||||
- ./lbrynet --version
|
- ./lbrynet --version
|
||||||
- zip -j lbrynet-${OS}.zip lbrynet
|
- zip -j lbrynet-${OS}.zip lbrynet
|
||||||
after_success:
|
after_success:
|
||||||
- pip install awscli
|
|
||||||
- aws configure set aws_access_key_id $ARTIFACTS_KEY
|
- aws configure set aws_access_key_id $ARTIFACTS_KEY
|
||||||
- aws configure set aws_secret_access_key $ARTIFACTS_SECRET
|
- aws configure set aws_secret_access_key $ARTIFACTS_SECRET
|
||||||
- aws configure set region us-east-1
|
- aws configure set region us-east-1
|
||||||
|
@ -92,12 +91,13 @@ jobs:
|
||||||
osx_image: xcode8.3
|
osx_image: xcode8.3
|
||||||
language: shell
|
language: shell
|
||||||
env: OS=mac
|
env: OS=mac
|
||||||
#cache: false
|
|
||||||
before_install:
|
before_install:
|
||||||
- brew upgrade python || true
|
- brew upgrade python || true
|
||||||
- pip3 install --user --upgrade pip virtualenv
|
- pip3 install --user --upgrade pip virtualenv
|
||||||
- /Users/travis/Library/Python/3.7/bin/virtualenv $HOME/venv
|
- /Users/travis/Library/Python/3.7/bin/virtualenv $HOME/venv
|
||||||
- source $HOME/venv/bin/activate
|
- source $HOME/venv/bin/activate
|
||||||
|
before_cache:
|
||||||
|
- brew cleanup
|
||||||
|
|
||||||
- <<: *build
|
- <<: *build
|
||||||
name: "Windows"
|
name: "Windows"
|
||||||
|
@ -141,4 +141,5 @@ cache:
|
||||||
- $HOME/venv
|
- $HOME/venv
|
||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
- $HOME/Library/Caches/pip
|
- $HOME/Library/Caches/pip
|
||||||
|
- $HOME/Library/Caches/Homebrew
|
||||||
- $TRAVIS_BUILD_DIR/.tox
|
- $TRAVIS_BUILD_DIR/.tox
|
||||||
|
|
Loading…
Add table
Reference in a new issue