forked from fsspec/filesystem_spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (53 loc) · 1.76 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
sudo: required
dist: xenial
os:
- linux
services:
- docker
language: python
matrix:
include:
- language: generic
env:
- TEST=FSSPEC
- DOCKER_COMPOSE_VERSION=1.23.2
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
- source ci/install.sh
script:
- py.test --cov=fsspec -v
- language: generic
env: TEST=S3FS
install:
- source ci/install.sh
- export BOTO_CONFIG=/dev/null
- export AWS_ACCESS_KEY_ID=foobar_key
- export AWS_SECRET_ACCESS_KEY=foobar_secret
- conda install boto3 botocore httpretty moto six mock -c conda-forge -y
- git clone https://github.com/dask/s3fs
- cd s3fs
- pip install -e . --no-deps
script:
- py.test -vv s3fs
allow_failures:
- language: generic
env: TEST=GCSFS
install:
- source ci/install.sh
- conda install -c conda-forge requests decorator google-auth -y
- pip install vcrpy google-auth-oauthlib
- git clone https://github.com/dask/gcsfs
- cd gcsfs
- pip install -e . --no-deps
script:
- GCSFS_RECORD_MODE=none py.test -vv gcsfs
notifications:
email: false