Commit c4e51cf2 authored by Isaak Lim's avatar Isaak Lim
Browse files

cache local files

parent e4663aaf
Pipeline #6153 failed with stages
in 1 minute and 36 seconds
cache: cache:
paths: paths:
- venv3/ - ./venv3/
- venv2/ - ./venv2/
- dist3/ - ./dist3/
- dist2/ - ./dist2/
stages: stages:
- build - build
...@@ -17,7 +17,7 @@ build-3.5: ...@@ -17,7 +17,7 @@ build-3.5:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- virtualenv --clear -p python3.5 ./venv3 - virtualenv --clear -p python3.5 ./venv3
- source venv3/bin/activate - source ./venv3/bin/activate
- python setup.py bdist_wheel --dist-dir dist3 - python setup.py bdist_wheel --dist-dir dist3
build-2.7: build-2.7:
...@@ -28,7 +28,7 @@ build-2.7: ...@@ -28,7 +28,7 @@ build-2.7:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
script: script:
- virtualenv --clear -p python2.7 ./venv2 - virtualenv --clear -p python2.7 ./venv2
- source venv2/bin/activate - source ./venv2/bin/activate
- python setup.py bdist_wheel --dist-dir dist2 - python setup.py bdist_wheel --dist-dir dist2
test-3.5: test-3.5:
...@@ -36,7 +36,7 @@ test-3.5: ...@@ -36,7 +36,7 @@ test-3.5:
tags: tags:
- Linux - Linux
script: script:
- source venv3/bin/activate - source ./venv3/bin/activate
- pip install dist3/*.whl - pip install dist3/*.whl
- cd tests - cd tests
- python -m unittest discover - python -m unittest discover
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment