File tree 5 files changed +10
-11
lines changed
pandas/_libs/src/ujson/lib
5 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,11 @@ cache:
11
11
directories :
12
12
- $HOME/.cache # cython cache
13
13
- $HOME/.ccache # compiler cache
14
+
14
15
env :
15
16
global :
17
+ # Variable for test workers
18
+ - PYTEST_WORKERS="auto"
16
19
# create a github personal access token
17
20
# cd pandas-dev/pandas
18
21
# travis encrypt 'PANDAS_GH_TOKEN=personal_access_token' -r pandas-dev/pandas
@@ -34,7 +37,7 @@ matrix:
34
37
35
38
- arch : arm64
36
39
env :
37
- - JOB="3.7" ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard)"
40
+ - JOB="3.7" PYTEST_WORKERS=8 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard)"
38
41
39
42
- env :
40
43
- JOB="3.6, locale" ENV_FILE="ci/deps/travis-36-locale.yaml" PATTERN="((not slow and not network and not clipboard) or (single and db))" LOCALE_OVERRIDE="zh_CN.UTF-8" SQL="1"
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: pandas-dev
2
2
channels :
3
3
- defaults
4
4
- conda-forge
5
- - c3i_test
6
5
dependencies :
7
6
- python=3.7.*
8
7
Original file line number Diff line number Diff line change @@ -20,11 +20,7 @@ if [[ $(uname) == "Linux" && -z $DISPLAY ]]; then
20
20
XVFB=" xvfb-run "
21
21
fi
22
22
23
- if [ " ${TRAVIS_CPU_ARCH} " == " arm64" ]; then
24
- PYTEST_CMD=" pytest -m \" $PATTERN \" --durations=10 --junitxml=test-data.xml $TEST_ARGS $COVERAGE pandas" ;
25
- else
26
- PYTEST_CMD=" ${XVFB} pytest -m \" $PATTERN \" -n auto --dist=loadfile -s --strict --durations=10 --junitxml=test-data.xml $TEST_ARGS $COVERAGE pandas"
27
- fi
23
+ PYTEST_CMD=" ${XVFB} pytest -m \" $PATTERN \" -n $PYTEST_WORKERS --dist=loadfile -s --strict --durations=10 --junitxml=test-data.xml $TEST_ARGS $COVERAGE pandas"
28
24
29
25
echo $PYTEST_CMD
30
26
sh -c " $PYTEST_CMD "
Original file line number Diff line number Diff line change 37
37
fi
38
38
39
39
if [ " ${TRAVIS_CPU_ARCH} " == " arm64" ]; then
40
- CONDA_URL=" https://github.com/conda-forge/miniforge/releases/download/4.8.2-1/Miniforge3-4.8.2-1-Linux-aarch64.sh" ;
40
+ sudo apt-get -y install xvfb
41
+ CONDA_URL=" https://github.com/conda-forge/miniforge/releases/download/4.8.2-1/Miniforge3-4.8.2-1-Linux-aarch64.sh"
41
42
else
42
- CONDA_URL=" https://repo.continuum.io/miniconda/Miniconda3-latest-$CONDA_OS .sh" ;
43
+ CONDA_URL=" https://repo.continuum.io/miniconda/Miniconda3-latest-$CONDA_OS .sh"
43
44
fi
44
- wget -q $CONDA_URL -O miniconda.sh;
45
+ wget -q $CONDA_URL -O miniconda.sh
45
46
chmod +x miniconda.sh
46
47
47
48
# Installation path is required for ARM64 platform as miniforge script installs in path $HOME/miniforge3.
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ typedef uint32_t JSUINT32;
108
108
109
109
#define FASTCALL_MSVC
110
110
111
- #if !defined __x86_64__
111
+ #if !defined __x86_64__ && !defined __aarch64__
112
112
#define FASTCALL_ATTR __attribute__((fastcall))
113
113
#else
114
114
#define FASTCALL_ATTR
You can’t perform that action at this time.
0 commit comments