File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ dist: trusty
4
4
env :
5
5
global :
6
6
- GETH_BASE_INSTALL_PATH=$TRAVIS_BUILD_DIR/gethbin
7
+ - PARITY_BASE_INSTALL_PATH=$TRAVIS_BUILD_DIR/paritybin
7
8
matrix :
8
9
include :
9
10
#
@@ -59,12 +60,13 @@ cache:
59
60
- directories :
60
61
- $HOME/.ethash/
61
62
- $GETH_BASE_INSTALL_PATH/
63
+ - $PARITY_BASE_INSTALL_PATH/
62
64
before_install :
63
65
- if [ -n "$GETH_VERSION" ]; then mkdir -p $HOME/.ethash; fi
64
66
install :
65
67
- travis_retry pip install pip setuptools --upgrade
66
68
- travis_retry pip install tox
67
- - [ -n "$PARITY_VERSION" ]; travis_retry pip install eth_utils tqdm requests
69
+ - if [ -n "$PARITY_VERSION" ]; then travis_retry pip install eth_utils tqdm requests; fi
68
70
before_script :
69
71
- python --version
70
72
- pip --version
Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ def get_binary_uri(releases_json):
45
45
46
46
def get_executable_path (version_string ):
47
47
identifier = VERSION_STRINGS [version_string ]
48
- path = os .path .join (BASE_BIN_PATH , 'parity-{0}' .format (identifier ))
48
+ base_path = os .environ .get ('PARITY_BASE_INSTALL_PATH' , BASE_BIN_PATH )
49
+ path = os .path .join (base_path , 'parity-{0}' .format (identifier ))
49
50
return os .path .expanduser (path )
50
51
51
52
You can’t perform that action at this time.
0 commit comments