diff options
author | Marius Halden <marius.h@lden.org> | 2021-10-07 13:32:40 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2021-10-07 13:32:40 +0200 |
commit | 09dacfc6b8bf62addeee16c20b1d90c2a256da96 (patch) | |
tree | 7caa2bf9e92227ab74448f9b746dd28bbcb81b2a /.travis/install | |
parent | 585e57484f9c6332668bf1ac0a6a3b39dbe32223 (diff) | |
parent | cea89fb87a96943708a1db0f646492fbfaaf000f (diff) |
Merge tag 'v3.1' into fiksgatami-devfiksgatami-dev
Diffstat (limited to '.travis/install')
-rwxr-xr-x | .travis/install | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/.travis/install b/.travis/install deleted file mode 100755 index c9d0aef78..000000000 --- a/.travis/install +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python - -import os -import sys -import tarfile -import urllib -from utils import get_bundle_filename - -wanted_filename = get_bundle_filename() - -url = 'https://fixmystreet-bundle-cache.s3.amazonaws.com/%s' % wanted_filename -try: - urllib.urlretrieve(url, wanted_filename) - if tarfile.is_tarfile(wanted_filename): - tfile = tarfile.open(wanted_filename) - tfile.extractall() - print "Cached copy found and extracted" - sys.exit(0) - else: - os.remove(wanted_filename) -except IOError: - os.remove(wanted_filename) - -print "No cached copy found, running carton install..." -ret = os.system('vendor/bin/carton install --deployment') -if ret: - os.system('cat ~/.cpanm/build.log') - -sys.exit(ret) |