Skip to content

Commit 6fb253b

Browse files
committed
WIP
1 parent 06151bb commit 6fb253b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ci/azure/posix.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
displayName: 'Workaround for mamba-org/mamba#488'
3030

3131
- script: |
32-
set -x
32+
set -eux
3333
sccache_version=v0.2.15
3434
sccache_archive_name=sccache-$sccache_version-x86_64-apple-darwin
3535
curl -L https://github.com/mozilla/sccache/releases/download/$sccache_version/$sccache_archive_name.tar.gz \
@@ -60,24 +60,26 @@ jobs:
6060
sed -i 's/^ - pyarrow$/ - pyarrow=6/' ${ENV_FILE}
6161
fi
6262
time mamba env update -n pandas-dev --file="${ENV_FILE}"
63+
set +e
6364
echo Have qt?
6465
conda list -f qt --json
6566
echo Have pandas?
6667
pip list | grep pandas
68+
set -e
6769
echo "Build extensions"
68-
time DISTUTILS_C_COMPILER_LAUNCHER=sccache python setup.py build_ext -q -j3
70+
time DISTUTILS_C_COMPILER_LAUNCHER=sccache mamba run --no-capture-output -n pandas-dev python setup.py build_ext -q -j3
6971
echo "Install pandas"
70-
time python -m pip install --no-build-isolation -e .
72+
time mamba run --no-capture-output -n pandas-dev python -m pip install --no-build-isolation -e .
7173
sccache -s
7274
displayName: 'Setup environment and build pandas'
7375
7476
- script: |
75-
conda run -n pandas-dev --no-capture-output ci/run_tests.sh
77+
mamba run --no-capture-output -n pandas-dev ci/run_tests.sh
7678
displayName: 'Test'
7779
7880
- script: |
7981
pushd /tmp
80-
conda run -n pandas-dev python -c "import pandas; pandas.show_versions()"
82+
mamba run --no-capture-output -n pandas-dev python -c "import pandas; pandas.show_versions()"
8183
popd
8284
displayName: 'Build versions'
8385

0 commit comments

Comments
 (0)