-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
52 lines (44 loc) · 1.46 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
47
48
49
50
env:
global:
- TESTSRC=digcat
- TIMEWAIT=240
- MAXWAITS=10
matrix:
- ALFVER=4.2.f
- ALFVER=5.0.x
- ALFVER=NIGHTLY
before_install:
- hostname
- install/tophead.sh
- sudo apt-get -yqq update
- sudo apt-get -fyq install
- "export DISPLAY=:99.0"
# - "sh -e /etc/init.d/xvfb start"
# - sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
#- #sudo chmod 600 /swapfile
# - sudo mkswap /swapfile
# - sudo swapon /swapfile
install:
- wget http://apt.puppetlabs.com/puppetlabs-release-trusty.deb
- sudo dpkg -i puppetlabs-release-trusty.deb
- sudo apt-get update
- sudo apt-get install git puppet -y
before_script:
- mkdir -p modules/alfresco
- mv files lib manifests templates modules/alfresco
- ./install/modules-for-vagrant.sh
script:
- install/tophead.sh
- install/customise-go.sh alfresco_version=$ALFVER domain_name=localhost
- sudo puppet apply --modulepath=modules go.pp
- sudo install/wait-for-alfresco-ready.sh https://localhost/share $TIMEWAIT $MAXWAITS /opt/alfresco/tomcat/logs/catalina.out
- cd
- echo Using $TESTSRC tests
- git clone https://github.com/${TESTSRC}/alfresco-tests.git
- cd alfresco-tests
- sudo ./install.sh
- echo -e "=================\noutput all catalina log\n==================="
- cat /opt/alfresco/tomcat/logs/catalina.out
notifications:
irc:
- "chat.freenode.net#orderofthebee"