File: install.sh

package info (click to toggle)
rust-criterion 0.5.1-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,428 kB
  • sloc: sh: 59; python: 22; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
set -ex

if [ "$CLIPPY" = "yes" ]; then
    rustup component add clippy-preview
fi

if [ "$RUSTFMT" = "yes" ]; then
    rustup component add rustfmt
fi


if [ "$DOCS" = "yes" ]; then
    cargo install mdbook --no-default-features
    cargo install mdbook-linkcheck
    sudo apt-get update
    sudo apt-get install python-pip
    sudo pip install python-dateutil
fi

if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$GNUPLOT" = "yes" ]; then
    brew unlink python@2 # because we're installing python3 and they both want to install stuff under /usr/local/Frameworks/Python.framework/
    brew install gnuplot
fi