forked from CODAIT/text-extensions-for-pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.06 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
# NOTE: This configuration is NOT CURRENTLY USED. CI/CI is run via Github Actions.
language: python
jobs:
include:
- name: "Python 3.6"
python: "3.6"
env: PYTHON_VERSION=3.6
- name: "Python 3.8"
python: "3.8"
env: PYTHON_VERSION=3.8
- name: "Pandas 1.0.x"
python: "3.7"
env: PYTHON_VERSION=3.7
env: PANDAS_VERSION=1.0.*
- name: "Pandas 1.1.x"
python: "3.7"
env: PYTHON_VERSION=3.7
env: PANDAS_VERSION=1.1.*
install:
#install conda
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- CONDA_HOME="${HOME}/miniconda" ./env.sh
script:
#activate python virtual environment
- conda activate pd
#check that doc generation is possible
- ./generate_docs.sh
#run unit tests
- pytest -v text_extensions_for_pandas