Skip to content

Commit

Permalink
Fix error with script installation on TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
vbouquet committed Nov 29, 2017
1 parent fa90385 commit dbcea2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions scripts/install_django_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Back-end ressources installation

if [[ "$CI" == "true" ]]; then
then
PYTHON=python3
PROJECT_DIR=$TRAVIS_BUILD_DIR
else
Expand All @@ -15,7 +14,6 @@ echo "DJANGO_DIR='$DJANGO_DIR'" >> .bashrc
source .bashrc

if [[ "$CI" != "true" ]]; then
then
sudo apt-get install -y python3.5
fi

Expand Down
2 changes: 0 additions & 2 deletions scripts/install_front_end.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

HOME_DIR="/home/ubuntu"
if [[ "$CI" == "true" ]]; then
then
PROJECT_DIR=$TRAVIS_BUILD_DIR
else
PROJECT_DIR="/vagrant"
Expand All @@ -21,7 +20,6 @@ sudo apt-get install -y nodejs
# Fix error with shared folder and npm modules
# https://medium.com/@dtinth/isolating-node-modules-in-vagrant-9e646067b36
if [[ "$CI" != "true" ]]; then
then
mkdir $HOME_DIR/vagrant_node_modules
mkdir $PROJECT_DIR/node_modules
mount --bind $HOME_DIR/vagrant_node_modules $PROJECT_DIR/node_modules
Expand Down

0 comments on commit dbcea2e

Please sign in to comment.