Update .travis.yml

This commit is contained in:
Martin Kroeker 2021-05-24 20:14:17 +02:00 committed by GitHub
parent 39b29035ef
commit aa0ac6f34a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -222,7 +222,7 @@ matrix:
- <<: *test-macos - <<: *test-macos
osx_image: xcode12 osx_image: xcode12
before_script: before_script:
- COMMON_FLAGS="DYNAMIC_ARCH=1 DYNAMIC_LIST='NEHALEM HASWELL' NUM_THREADS=32" - COMMON_FLAGS="DYNAMIC_ARCH=1 DYNAMIC_LIST=HASWELL NUM_THREADS=32"
- brew update - brew update
script: script:
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
@ -279,15 +279,15 @@ matrix:
script: script:
- travis_wait 45 make && make lapack-test - travis_wait 45 make && make lapack-test
- pip install numpy - pip install numpy
- echo -e "import numpy as np\nvalues = [-20, 2, 3, 4, 5, 4, 3, 2]\n \ - echo -e "import numpy as np\nvalues = [-20, 2, 3, 4, 5, 4, 3, 2]\n\
values = values[int(non_zero[0]):int(np.non_zero[-1])+1]\n \ values = values[int(non_zero[0]):int(np.non_zero[-1])+1]\n\
_, e = np.frexp(values[::-1])\n \ _, e = np.frexp(values[::-1])\n\
c = int(-0.5 * (np.max(e) + np.min(e)))\n \ c = int(-0.5 * (np.max(e) + np.min(e)))\n\
p = values[::-1]\n \ p = values[::-1]\n\
p = np.ldexp(p, c)\n \ p = np.ldexp(p, c)\n\
A = np.diag(np.full(p.size - 2, p[0]), k=-1)\n \ A = np.diag(np.full(p.size - 2, p[0]), k=-1)\n\
A[0,:] = -p[1:]\n \ A[0,:] = -p[1:]\n\
eigenvalues = np.linalg.eigvals(A)\n \ eigenvalues = np.linalg.eigvals(A)\n\
print(eigenvalues)\n" >linalgtest.py print(eigenvalues)\n" >linalgtest.py
- python3 linalgtest.py - python3 linalgtest.py
# whitelist # whitelist