diff --git a/.travis.yml b/.travis.yml index b666f03..2e134a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/hello.py b/hello.py index d4fb0b0..8cd9f18 100644 --- a/hello.py +++ b/hello.py @@ -3,7 +3,7 @@ def hello(what): - print('Hello, {}!'.format(what)) + print('Hello there, {}!'.format(what)) def say_what(): diff --git a/requirements.txt b/requirements.txt index e079f8a..4bfedf3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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