File tree 10 files changed +159
-6
lines changed 10 files changed +159
-6
lines changed Original file line number Diff line number Diff line change 3
3
# Mac and Linux could potentially use the same template
4
4
# except it isn't clear how to use a different build matrix
5
5
# for each, so for now they are separate
6
- # - template: ci/azure/macos.yml
7
- # parameters:
8
- # name: macOS
9
- # vmImage: xcode9-macos10.13
6
+ - template : ci/azure/macos.yml
7
+ parameters :
8
+ name : macOS
9
+ vmImage : xcode9-macos10.13
10
10
# - template: ci/azure/linux.yml
11
11
# parameters:
12
12
# name: Linux
Original file line number Diff line number Diff line change
1
+ name : pandas
2
+ channels :
3
+ - defaults
4
+ dependencies :
5
+ - beautifulsoup4
6
+ - bottleneck
7
+ - cython>=0.28.2
8
+ - html5lib
9
+ - jinja2
10
+ - lxml
11
+ - matplotlib
12
+ - nomkl
13
+ - numexpr
14
+ - numpy=1.10.4
15
+ - openpyxl=2.5.5
16
+ - pytables
17
+ - python=3.5*
18
+ - pytz
19
+ - xarray
20
+ - xlrd
21
+ - xlsxwriter
22
+ - xlwt
23
+ # universal
24
+ - pytest
25
+ - pytest-xdist
26
+ - pip :
27
+ - python-dateutil==2.5.3
28
+ - hypothesis>=3.58.0
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ parameters :
2
+ name : ' '
3
+ vmImage : ' '
4
+
5
+ jobs :
6
+ - job : ${{ parameters.name }}
7
+ pool :
8
+ vmImage : ${{ parameters.vmImage }}
9
+ strategy :
10
+ maxParallel : 11
11
+ matrix :
12
+ py35_np_110 :
13
+ ENV_FILE : ci/azure-macos-35.yml
14
+ CONDA_PY : " 35"
15
+ CONDA_ENV : pandas
16
+ TEST_ARGS : " --skip-slow --skip-network"
17
+
18
+ steps :
19
+ - script : |
20
+ if [ "$(uname)" == "Linux" ]; then sudo apt-get install -y libc6-dev-i386; fi
21
+ echo "Installing Miniconda"
22
+ ci/incremental/install_miniconda.sh
23
+ export PATH=$HOME/miniconda3/bin:$PATH
24
+ echo "Setting up Conda environment"
25
+ ci/incremental/setup_conda_environment.sh
26
+ displayName: 'Before Install'
27
+ - script : |
28
+ export PATH=$HOME/miniconda3/bin:$PATH
29
+ ci/incremental/build.sh
30
+ displayName: 'Build'
31
+ - script : |
32
+ export PATH=$HOME/miniconda3/bin:$PATH
33
+ ci/incremental/script_single.sh
34
+ ci/incremental/script_multi.sh
35
+ echo "Test done"
36
+ displayName: 'Test'
37
+ - script : |
38
+ export PATH=$HOME/miniconda3/bin:$PATH
39
+ source activate pandas && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
Original file line number Diff line number Diff line change 10
10
maxParallel : 11
11
11
matrix :
12
12
py36_np14 :
13
- ENV_FILE : ci/azure-27.yml
13
+ ENV_FILE : ci/azure-windows- 27.yml
14
14
CONDA_PY : " 27"
15
15
CONDA_ENV : pandas
16
16
Original file line number Diff line number Diff line change 10
10
maxParallel : 11
11
11
matrix :
12
12
py36_np14 :
13
- ENV_FILE : ci/azure-36.yml
13
+ ENV_FILE : ci/azure-windows- 36.yml
14
14
CONDA_PY : " 36"
15
15
CONDA_ENV : pandas
16
16
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ source activate $CONDA_ENV
4
+
5
+ # Make sure any error below is reported as such
6
+ set -v -e
7
+
8
+ echo " [building extensions]"
9
+ python setup.py build_ext -q --inplace
10
+ python -m pip install -e
11
+
12
+ echo
13
+ echo " [show environment]"
14
+ conda list
15
+
16
+ echo
17
+ echo " [done]"
18
+ exit 0
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -v -e
4
+
5
+ # Install Miniconda
6
+ unamestr=` uname`
7
+ if [[ " $unamestr " == ' Linux' ]]; then
8
+ if [[ " $BITS32 " == " yes" ]]; then
9
+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86.sh -O miniconda.sh
10
+ else
11
+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
12
+ fi
13
+ elif [[ " $unamestr " == ' Darwin' ]]; then
14
+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
15
+ else
16
+ echo Error
17
+ fi
18
+ chmod +x miniconda.sh
19
+ ./miniconda.sh -b
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -v -e
4
+
5
+ CONDA_INSTALL=" conda install -q -y"
6
+ PIP_INSTALL=" pip install -q"
7
+
8
+ # Deactivate any environment
9
+ source deactivate
10
+ # Display root environment (for debugging)
11
+ conda list
12
+ # Clean up any left-over from a previous build
13
+ # (note workaround for https://github.com/conda/conda/issues/2679:
14
+ # `conda env remove` issue)
15
+ conda remove --all -q -y -n $CONDA_ENV
16
+
17
+ echo
18
+ echo " [create env]"
19
+ time conda env create -q -n " ${CONDA_ENV} " --file=" ${ENV_FILE} " || exit 1
20
+
21
+ # Activate first
22
+ set +v
23
+ source activate $CONDA_ENV
24
+ set -v
25
+
26
+ # remove any installed pandas package
27
+ # w/o removing anything else
28
+ echo
29
+ echo " [removing installed pandas]"
30
+ conda remove pandas -y --force
31
+ pip uninstall -y pandas
32
+
33
+ echo
34
+ echo " [no installed pandas]"
35
+ conda list pandas
36
+ pip list --format columns | grep pandas
37
+
38
+ # # Install the compiler toolchain
39
+ # if [[ $(uname) == Linux ]]; then
40
+ # if [[ "$CONDA_SUBDIR" == "linux-32" || "$BITS32" == "yes" ]] ; then
41
+ # $CONDA_INSTALL gcc_linux-32 gxx_linux-32
42
+ # else
43
+ # $CONDA_INSTALL gcc_linux-64 gxx_linux-64
44
+ # fi
45
+ # elif [[ $(uname) == Darwin ]]; then
46
+ # $CONDA_INSTALL clang_osx-64 clangxx_osx-64
47
+ # # Install llvm-openmp and intel-openmp on OSX too
48
+ # $CONDA_INSTALL llvm-openmp intel-openmp
49
+ # fi
You can’t perform that action at this time.
0 commit comments