Skip to content

Commit

Permalink
Fix unit tests vs new p4api minor version release (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
ca-johnson authored Dec 9, 2019
1 parent d4fe63b commit 2953491
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ wget http://www.perforce.com/downloads/perforce/r18.2/bin.linux26x86_64/p4d && s

# Build P4Python from source, pip install fails as we cannot connect to ftp.perforce.com from travis agents
wget http://www.perforce.com/downloads/perforce/r18.2/bin.linux26x86_64/p4api.tgz
# Detect concrete version number inside p4api.tgz
P4API_VERSION=$(tar -tf p4api.tgz | head -1)
tar xzf p4api.tgz --directory /tmp/
wget https://files.pythonhosted.org/packages/36/5a/0a1b192cdecd31cb8bc0d0ba39c73ffd84ce823053d0004823a1fdbe1440/p4python-2018.2.1743033.tar.gz
tar xfz p4python-2018.2.1743033.tar.gz --directory /tmp/
pushd /tmp/p4python-2018.2.1743033/ && python setup.py install --apidir /tmp/p4api-2018.2.1850148 && popd
pushd /tmp/p4python-2018.2.1743033/ && python setup.py install --apidir /tmp/${P4API_VERSION} && popd

0 comments on commit 2953491

Please sign in to comment.