summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-03-31 16:47:49 +0300
committermattip <matti.picus@gmail.com>2019-04-17 06:07:34 +0300
commite67f8c7f78291cec03de944ed121d3e0f2a89c36 (patch)
treec0a5c11137d50f8fceec12c2773e729b0270272a /tools
parentc09fadcc8220f4ac80f0dcc4d82d22f58ef2d6c1 (diff)
downloadnumpy-e67f8c7f78291cec03de944ed121d3e0f2a89c36.tar.gz
TEST: update for PyPy
Diffstat (limited to 'tools')
-rw-r--r--tools/azure-pypy-test.sh10
-rwxr-xr-xtools/pypy-test.sh11
2 files changed, 11 insertions, 10 deletions
diff --git a/tools/azure-pypy-test.sh b/tools/azure-pypy-test.sh
deleted file mode 100644
index 2194b724d..000000000
--- a/tools/azure-pypy-test.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-wget http://buildbot.pypy.org/nightly/py3.5/pypy-c-jit-latest-linux64.tar.bz2 -O pypy.tar.bz2
-mkdir -p pypy3.5-latest
-(cd pypy3.5-latest; tar --strip-components=1 -xf ../pypy.tar.bz2)
-pypy3.5-latest/bin/pypy3 -mensurepip
-pypy3.5-latest/bin/pypy3 -m pip install --upgrade pip setuptools
-pypy3.5-latest/bin/pypy3 -m pip install --user cython==0.29.0 pytest pytz
-pypy3.5-latest/bin/pypy3 runtests.py -- -rsx --junitxml=junit/test-results.xml --durations 10
-# do not fail the CI run
-echo ''
-
diff --git a/tools/pypy-test.sh b/tools/pypy-test.sh
new file mode 100755
index 000000000..bcadc1d6d
--- /dev/null
+++ b/tools/pypy-test.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+apt-get -yq update
+apt-get -yq install libatlas-dev libatlas-base-dev liblapack-dev
+wget http://buildbot.pypy.org/nightly/py3.6/pypy-c-jit-latest-linux64.tar.bz2 -O pypy.tar.bz2
+mkdir -p pypy3
+(cd pypy3; tar --strip-components=1 -xf ../pypy.tar.bz2)
+pypy3/bin/pypy3 -mensurepip
+pypy3/bin/pypy3 -m pip install --upgrade pip setuptools
+pypy3/bin/pypy3 -m pip install --user cython==0.29.0 pytest pytz --no-warn-script-location
+pypy3/bin/pypy3 runtests.py -- -rsx --junitxml=junit/test-results.xml --durations 10