Skip to content

Commit 03bc924

Browse files
committed
CI fix CI on ubuntu
1 parent 4423db4 commit 03bc924

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

continuous_integration/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
make_conda() {
2222
TO_INSTALL="$@"
2323
conda create -n $VIRTUALENV -q --yes $TO_INSTALL
24-
conda activate $VIRTUALENV
24+
source activate $VIRTUALENV
2525
}
2626

2727
if [[ "$PACKAGER" == "conda" ]]; then
@@ -31,7 +31,7 @@ if [[ "$PACKAGER" == "conda" ]]; then
3131
make_conda $TO_INSTALL
3232

3333
elif [[ "$PACKAGER" == "ubuntu" ]]; then
34-
sudo apt-get install python3-scipy libatlas3-base libatlas-base-dev libatlas-dev python3-virtualenv
34+
sudo apt-get install python3-scipy libatlas3-base libatlas-base-dev libatlas-dev libopenblas-base python3-virtualenv
3535
python3 -m virtualenv --system-site-packages --python=python3 $VIRTUALENV
3636
source $VIRTUALENV/bin/activate
3737
python -m pip install pytest pytest-cov cython

continuous_integration/test_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
if [[ "$PACKAGER" == "conda" ]]; then
6-
conda activate $VIRTUALENV
6+
source activate $VIRTUALENV
77
elif [[ "$PACKAGER" == "ubuntu" ]]; then
88
source $VIRTUALENV/bin/activate
99
fi

0 commit comments

Comments
 (0)