-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy path.travis.yml
46 lines (39 loc) · 1.61 KB
/
.travis.yml
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
44
45
46
dist: trusty
sudo: required
services:
- docker
addons:
hosts:
- docker.local
env:
# - STACK=stacks/sugar77/php56-local-build.yml SUGAR=7.9 PHP=5.6
# - STACK=stacks/sugar79/php56.yml SUGAR=7.9 PHP=5.6
# - STACK=stacks/sugar79/php71.yml SUGAR=7.9 PHP=7.1
# - STACK=stacks/sugar79/php71lb.yml SUGAR=7.9 PHP=7.1
# - STACK=stacks/sugar79/php71-local-build.yml SUGAR=7.9 PHP=7.1
# - STACK=stacks/sugar79upgrade/php71.yml SUGAR=7.9 PHP=7.1
# - STACK=stacks/sugar710/php71.yml SUGAR=7.10 PHP=7.1
# - STACK=stacks/sugar8/php71.yml SUGAR=8.0 PHP=7.1
# - STACK=stacks/sugar8/php71-local-build.yml SUGAR=8.0 PHP=7.1
# - STACK=stacks/sugar81/php71.yml SUGAR=8.1 PHP=7.1
# - STACK=stacks/sugar81/php71-local-build.yml SUGAR=8.1 PHP=7.1
# - STACK=stacks/sugar82/php71.yml SUGAR=8.2 PHP=7.1
# - STACK=stacks/sugar82/php71-local-build.yml SUGAR=8.2 PHP=7.1
# - STACK=stacks/sugar83/php71.yml SUGAR=8.3 PHP=7.1
# - STACK=stacks/sugar83/php71-local-build.yml SUGAR=8.3 PHP=7.1
# - STACK=stacks/sugar9/php73.yml SUGAR=9.0 PHP=7.3
# - STACK=stacks/sugar9/php73-mac.yml SUGAR=9.0 PHP=7.3
# - STACK=stacks/sugar9/php73-local-build.yml SUGAR=9.0 PHP=7.3
# - STACK=stacks/sugar9/php73lb.yml SUGAR=9.0 PHP=7.3
# - STACK=stacks/sugar11/php74.yml SUGAR=11.0 PHP=7.4
# - STACK=stacks/sugar11/php74-local-build.yml SUGAR=11.0 PHP=7.4
before_install:
- sudo service mysql stop
- sudo service elasticsearch stop
- sudo sysctl -w vm.max_map_count=262144
install:
- cp -r ./tests/web_tests ./data/app/sugar/
script:
- ./tests/start.sh $STACK $SUGAR $PHP
- ./tests/web_tests.sh $STACK $SUGAR $PHP
- ./tests/stop.sh $STACK $SUGAR $PHP