Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Osx travis issue - Fix trial 1
  • Loading branch information
dhoomakethu committed Sep 10, 2020
commit d585a2f29456b2fc2d2b5ed9c5f87e08218900d5
9 changes: 5 additions & 4 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/bash -e

#if [ "$TRAVIS_OS_NAME" = osx ]; then
# VIRTUAL_ENV="$HOME/.virtualenvs/python2.7"
if [ "$TRAVIS_OS_NAME" = osx ]; then
VIRTUAL_ENV="$HOME/.virtualenvs/pymodbus"
python3 -m venv $VIRTUAL_ENV
# if [ ! -x "$VIRTUAL_ENV/bin/python" ]; then
# virtualenv "$VIRTUAL_ENV"
# fi
# source "$VIRTUAL_ENV/bin/activate"
#fi
source "$VIRTUAL_ENV/bin/activate"
fi

eval "$@"