File tree 3 files changed +40
-2
lines changed
3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ matrix:
31
31
- python : 3.5
32
32
33
33
include :
34
+ - dist : bionic
35
+ # 18.04
36
+ python : 3.8-dev
37
+ env :
38
+ - JOB="3.8-dev" PATTERN="(not slow and not network)"
39
+
34
40
- dist : trusty
35
41
env :
36
42
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="(not slow and not network)"
@@ -72,24 +78,27 @@ before_install:
72
78
# This overrides travis and tells it to look nowhere.
73
79
- export BOTO_CONFIG=/dev/null
74
80
81
+
75
82
install :
76
83
- echo "install start"
77
84
- ci/prep_cython_cache.sh
78
85
- ci/setup_env.sh
79
86
- ci/submit_cython_cache.sh
80
87
- echo "install done"
81
88
89
+
82
90
before_script :
83
91
# display server (for clipboard functionality) needs to be started here,
84
92
# does not work if done in install:setup_env.sh (GH-26103)
85
93
- export DISPLAY=":99.0"
86
94
- echo "sh -e /etc/init.d/xvfb start"
87
- - sh -e /etc/init.d/xvfb start
95
+ - if [ "$JOB" != "3.8-dev" ]; then sh -e /etc/init.d/xvfb start; fi
88
96
- sleep 3
89
97
90
98
script :
91
99
- echo "script start"
92
- - source activate pandas-dev
100
+ - echo "$JOB"
101
+ - if [ "$JOB" != "3.8-dev" ]; then source activate pandas-dev; fi
93
102
- ci/run_tests.sh
94
103
95
104
after_script :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+ # Special build for python3.8 until numpy puts its own wheels up
3
+
4
+ sudo apt-get install build-essential gcc xvfb
5
+ pip install --no-deps -U pip wheel setuptools
6
+ pip install python-dateutil pytz cython pytest pytest-xdist hypothesis
7
+
8
+ # Possible alternative for getting numpy:
9
+ # pip install --pre -f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/ numpy
10
+ git clone https://github.com/numpy/numpy
11
+ cd numpy
12
+ python setup.py build_ext --inplace
13
+ python setup.py install
14
+ cd ..
15
+ rm -rf numpy
16
+
17
+ python setup.py build_ext -inplace
18
+ python -m pip install --no-build-isolation -e .
19
+
20
+ python -c " import sys; print(sys.version_info)"
21
+ python -c " import pandas as pd"
22
+ python -c " import hypothesis"
23
+
24
+ # TODO: Is there anything else in setup_env that we really want to do?
25
+ # ci/setup_env.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
+ if [ " $JOB " == " 3.8-dev" ]; then
4
+ /bin/bash ci/build38.sh
5
+ exit 0
6
+ fi
3
7
4
8
# edit the locale file if needed
5
9
if [ -n " $LOCALE_OVERRIDE " ]; then
You can’t perform that action at this time.
0 commit comments