File: travis_setup.sh

package info (click to toggle)
python-cython-blis 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 43,676 kB
  • sloc: ansic: 645,510; sh: 2,354; asm: 1,466; python: 821; cpp: 585; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash

set -e

if [ "$TRAVIS_OS_NAME" = "linux" ]; then
  sudo systemctl disable apt-daily.timer
  sudo killall apt.systemd.daily
  sleep 5
  sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
  sleep 5
  sudo apt-get update -y
  sleep 5
  sudo apt-get install -y gcc-6 binutils clang
  sed -i 's/"gcc"/"gcc-6"/' blis/_src/make/linux-x86_64.jsonl
  export CC="gcc-6"
fi

#if [ "$TRAVIS_OS_NAME" = "osx" ]; then

#fi