forked from danhper/opencov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheyecatch.rb
43 lines (36 loc) · 965 Bytes
/
eyecatch.rb
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
35
36
37
38
39
40
41
42
43
before_build do
run 'locale-gen en_US.UTF-8'
run 'wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb'
run 'dpkg -i erlang-solutions_1.0_all.deb'
run 'apt-get update'
run 'apt-get install -y elixir erlang-dev erlang-parsetools'
run 'mix local.hex --force'
run 'mix local.rebar --force'
run 'npm install'
run 'mix deps.get'
run 'mix compile'
run 'mix ecto.create'
run 'mix ecto.migrate'
run 'mix seedex.seed --env=eyecatch'
end
service 'postgresql'
serve 'mix phoenix.server'
port 4000
window_width 1200
start_delay 10
task('anonymous') do
entry_point '/'
end
task('user') do
before_capture('/login') do
fill_in 'login[email]', with: '[email protected]'
fill_in 'login[password]', with: 'p4ssw0rd'
click_button 'Login'
end
entry_point '/login'
exclude_paths [%r{/builds/\d+?.+}, %r{/jobs/\d+?.+}]
end
env 'MIX_ENV=dev'
env 'LANG=en_US.UTF-8'
env 'LANGUAGE=en_US:en'
env 'LC_ALL=en_US.UTF-8'