Statistics
| Branch: | Revision:

iof-tools / networkxMiCe / networkx-master / tools / travis / before_install.sh @ 5cef0f13

History | View | Annotate | Download (420 Bytes)

1
#!/usr/bin/env bash
2
set -e
3

    
4
section () {
5
    echo -en "travis_fold:start:$1\r"
6
}
7

    
8
section_end () {
9
    echo -en "travis_fold:end:$1\r"
10
}
11

    
12
export -f section
13
export -f section_end
14

    
15
if [[ "${MINIMUM_REQUIREMENTS}" == 1 ]]; then
16
    sed -i 's/>=/==/g' requirements/default.txt
17
    sed -i 's/>=/==/g' requirements/extras.txt
18
    sed -i 's/>=/==/g' requirements/test.txt
19
    sed -i 's/>=/==/g' requirements/doc.txt
20
fi
21

    
22
set +e