Fix travis

pip is bugged on arm64 and s390x. Add --no-cache-dir to fix. For
consistency, it doesn't hurt to add everywhere.
This commit is contained in:
Rosen Penev 2020-02-02 20:27:13 -08:00
parent 4b0444e760
commit 196d5fde65
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 10 additions and 10 deletions

View File

@ -17,9 +17,9 @@ matrix:
- ninja-build - ninja-build
before_install: before_install:
- wget https://bootstrap.pypa.io/get-pip.py - wget https://bootstrap.pypa.io/get-pip.py
- /usr/bin/python3.6 get-pip.py --user - /usr/bin/python3.6 get-pip.py --user --no-cache-dir
install: install:
- /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson - /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson --no-cache-dir
env: env:
- MATRIX_EVAL="export PATH=\$HOME/.local/bin:\$PATH" - MATRIX_EVAL="export PATH=\$HOME/.local/bin:\$PATH"
@ -39,9 +39,9 @@ matrix:
- ninja-build - ninja-build
before_install: before_install:
- wget https://bootstrap.pypa.io/get-pip.py - wget https://bootstrap.pypa.io/get-pip.py
- /usr/bin/python3.6 get-pip.py --user - /usr/bin/python3.6 get-pip.py --user --no-cache-dir
install: install:
- /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson - /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson --no-cache-dir
env: env:
- MATRIX_EVAL="export PATH=\$HOME/.local/bin:\$PATH" - MATRIX_EVAL="export PATH=\$HOME/.local/bin:\$PATH"
@ -61,9 +61,9 @@ matrix:
- ninja-build - ninja-build
before_install: before_install:
- wget https://bootstrap.pypa.io/get-pip.py - wget https://bootstrap.pypa.io/get-pip.py
- /usr/bin/python3.6 get-pip.py --user - /usr/bin/python3.6 get-pip.py --user --no-cache-dir
install: install:
- /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson - /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson --no-cache-dir
env: env:
- MATRIX_EVAL="export PATH=\$HOME/.local/bin:\$PATH" - MATRIX_EVAL="export PATH=\$HOME/.local/bin:\$PATH"
@ -86,9 +86,9 @@ matrix:
- ninja-build - ninja-build
before_install: before_install:
- wget https://bootstrap.pypa.io/get-pip.py - wget https://bootstrap.pypa.io/get-pip.py
- /usr/bin/python3.6 get-pip.py --user - /usr/bin/python3.6 get-pip.py --user --no-cache-dir
install: install:
- /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson - /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson --no-cache-dir
env: env:
# use gold as workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=17068 # use gold as workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=17068
- MATRIX_EVAL="export CC='ccache gcc-6' CXX='ccache g++-6' LDFLAGS=-fuse-ld=gold PATH=\$HOME/.local/bin:\$PATH" - MATRIX_EVAL="export CC='ccache gcc-6' CXX='ccache g++-6' LDFLAGS=-fuse-ld=gold PATH=\$HOME/.local/bin:\$PATH"
@ -112,9 +112,9 @@ matrix:
- ninja-build - ninja-build
before_install: before_install:
- wget https://bootstrap.pypa.io/get-pip.py - wget https://bootstrap.pypa.io/get-pip.py
- /usr/bin/python3.6 get-pip.py --user - /usr/bin/python3.6 get-pip.py --user --no-cache-dir
install: install:
- /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson - /usr/bin/python3.6 $HOME/.local/bin/pip install --user meson --no-cache-dir
env: env:
# use gold as workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=17068 # use gold as workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=17068
- MATRIX_EVAL="export CC='ccache gcc-8' CXX='ccache g++-8' LDFLAGS=-fuse-ld=gold PATH=\$HOME/.local/bin:\$PATH" - MATRIX_EVAL="export CC='ccache gcc-8' CXX='ccache g++-8' LDFLAGS=-fuse-ld=gold PATH=\$HOME/.local/bin:\$PATH"