mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-25 20:36:01 +03:00
Updated SetupEnvironment to use TRAVIS_BUILD_DIR to identify paths
This commit is contained in:
parent
623461a926
commit
2adbb68a54
@ -1,17 +1,17 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
|
|
||||||
if [ -n "$TRAVIS" ]; then
|
if [ -n "$TRAVIS" ]; then
|
||||||
|
|
||||||
echo 'Travis config not yet written'
|
echo 'Travis config not yet written'
|
||||||
cp -Rp $DIR/resources /resources
|
cp -Rp $TRAVIS_BUILD_DIR/tests/resources /resources
|
||||||
/bin/bash /resources/Scripts/Provision.sh
|
/bin/bash /resources/Scripts/Provision.sh
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
# Since not in travis, lets load up a system with vagrant
|
# Since not in travis, lets load up a system with vagrant
|
||||||
|
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
cd $DIR/vagrant
|
cd $DIR/vagrant
|
||||||
|
|
||||||
VAGRANTSTATUS=$(vagrant status)
|
VAGRANTSTATUS=$(vagrant status)
|
||||||
|
Loading…
Reference in New Issue
Block a user