Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
language: python
language: generic
sudo: false
python:
- 2.7
- 3.4
script: py.test -v
os: osx
install:
# We do this conditionally because it saves us some downloading if the
# version is the same.
- wget https://repo.anaconda.com/archive/Anaconda3-2020.07-MacOSX-x86_64.sh -O anaconda.sh;
- bash anaconda.sh -b -p $HOME/anaconda
- source "$HOME/anaconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda init
- conda activate base
- pip install -r requirements.txt

script: python py.test -v
2 changes: 1 addition & 1 deletion hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


def hello(what):
print('Hello, {}!'.format(what))
print('Hello there, {}!'.format(what))


def say_what():
Expand Down
15 changes: 14 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
pytest
pyhive[hive]==0.6.2
grpcio==1.28.1
google-cloud-bigquery[bqstorage,pandas,pyarrow]==1.24.0
google-cloud-storage==1.28.0
pandas>=1.0.3
pydata-google-auth==1.1.0
hmsclient==0.1.1

pytest==5.3.2
pytest-integration==0.2.2
pytest-cov==2.8.1
pytest-mock==2.0.0
pytest-watch==4.2.0
pycodestyle==2.5.0