Merge pull request #428 from efiop/master

GCP and travis
This commit is contained in:
Ruslan Kuprieiev
2018-01-16 01:13:07 +02:00
committed by GitHub
2 changed files with 7 additions and 4 deletions
+3 -3
View File
@@ -16,19 +16,19 @@ cache: pip
# version, that causes fpm to crash.
matrix:
include:
- if: type = cron
- if: type = cron OR tag is present
os: osx
osx_image: xcode7.3
language: ruby
rvm: 2.4.0
env: PYTHON_VER=2.7.10
- if: type = cron
- if: type = cron OR tag is present
os: osx
osx_image: xcode7.3
language: ruby
rvm: 2.4.0
env: PYTHON_VER=3.4.3
- if: type = cron
- if: type = cron OR tag is present
os: osx
osx_image: xcode7.3
language: ruby
+4 -1
View File
@@ -124,4 +124,7 @@ class DataCloudGCP(DataCloudBase):
return (local_exists, remote_exists, diff)
def remove(self, item):
raise Exception('NOT IMPLEMENTED YET')
bucket = self._get_bucket_gc(self.storage_bucket)
blob_name = self.cache_file_key(path)
blob = bucket.blob(blob_name)
blob.delete()