aboutsummaryrefslogblamecommitdiffstats
path: root/test/e2e/beta/run-drizzle.sh
blob: 09b903afb7b3e8a2bb40a8bc42cfdebc64a3dc60 (plain) (tree)
1
2
3
4
5
6
7
8
9

                   






                                                 
                   
                                                   
                                              
                                                                                              


                                          
#!/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
npm install truffle
../../../../node_modules/.bin/truffle unbox drizzle
echo "Deploying contracts for Drizzle test..."
../../../../node_modules/.bin/truffle compile && ../../../../node_modules/.bin/truffle migrate
BROWSER=none npm start >> /dev/null 2>&1 &
cd ../../../../
mocha test/e2e/beta/drizzle.spec