-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
build
executable file
路34 lines (26 loc) 路 807 Bytes
/
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env bash
set -e
# Target postgresql. Override with: `env DB=sqlite bin/build`
export DB=${DB:-postgresql}
bin/setup
echo "***********************"
echo "* Testing Solidus API *"
echo "***********************"
bin/rspec api/spec
echo "***************************"
echo "* Testing Solidus Backend *"
echo "***************************"
bin/rspec backend/spec
bundle exec teaspoon --require=backend/spec/teaspoon_env.rb
echo "************************"
echo "* Testing Solidus Core *"
echo "************************"
bin/rspec core/spec
echo "****************************"
echo "* Testing Solidus Frontend *"
echo "****************************"
bin/rspec frontend/spec
echo "**************************"
echo "* Testing Solidus Sample *"
echo "**************************"
bin/rspec sample/spec