You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
420 B
16 lines
420 B
#!/usr/bin/env bash
|
|
|
|
export PATH="$PATH:./node_modules/.bin"
|
|
|
|
npm run ganache:start -- -b 2 >> /dev/null 2>&1 &
|
|
sleep 5
|
|
cd test/e2e/beta/
|
|
rm -rf drizzle-test
|
|
mkdir drizzle-test && cd drizzle-test
|
|
sudo npm install -g truffle
|
|
truffle unbox drizzle
|
|
echo "Deploying contracts for Drizzle test..."
|
|
truffle compile && truffle migrate
|
|
BROWSER=none npm start >> /dev/null 2>&1 &
|
|
cd ../../../../
|
|
mocha test/e2e/beta/drizzle.spec
|
|
|