first commit
This commit is contained in:
17
modules/ps_facebook/vendor/segmentio/analytics-php/.buildscript/bootstrap.sh
vendored
Normal file
17
modules/ps_facebook/vendor/segmentio/analytics-php/.buildscript/bootstrap.sh
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! which brew >/dev/null; then
|
||||
echo "homebrew is not available. Install it from http://brew.sh"
|
||||
exit 1
|
||||
else
|
||||
echo "homebrew already installed"
|
||||
fi
|
||||
|
||||
if ! which php >/dev/null; then
|
||||
echo "installing php."
|
||||
brew install php
|
||||
else
|
||||
echo "php already installed"
|
||||
fi
|
||||
|
||||
echo "all dependencies installed."
|
||||
13
modules/ps_facebook/vendor/segmentio/analytics-php/.buildscript/e2e.sh
vendored
Normal file
13
modules/ps_facebook/vendor/segmentio/analytics-php/.buildscript/e2e.sh
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
if [ "$RUN_E2E_TESTS" != "true" ]; then
|
||||
echo "Skipping end to end tests."
|
||||
else
|
||||
echo "Running end to end tests..."
|
||||
wget https://github.com/segmentio/library-e2e-tester/releases/download/0.4.1-pre1/tester_linux_amd64 -O tester
|
||||
chmod +x tester
|
||||
./tester -path='./bin/analytics'
|
||||
echo "End to end tests completed!"
|
||||
fi
|
||||
Reference in New Issue
Block a user