<commit_before>env:
    global:
      - TESTSRC=marsbard
    matrix:
      #- ALFVER=4.2.f
      - ALFVER=5.0.x
        #- ALFVER=NIGHTLY

before_install:
    - sudo apt-get -yqq update
    - sudo apt-get -fyq install
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"

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/customise-go.sh alfresco_version=$ALFVER domain_name=localhost
    - sleep 5
    - sudo puppet apply --modulepath=modules go.pp
    - cd
    - echo Using $TESTSRC tests
    - git clone https://github.com/${TESTSRC}/alfresco-tests.git
    - cd alfresco-tests
    - sudo ./install.sh 
    - sleep 90
    - sudo bash ./runtests.sh
<commit_msg>do not start xvfb since we are using xvfb-run<commit_after>env:
    global:
      - TESTSRC=marsbard
    matrix:
      #- ALFVER=4.2.f
      - ALFVER=5.0.x
        #- ALFVER=NIGHTLY

before_install:
    - sudo apt-get -yqq update
    - sudo apt-get -fyq install
    - "export DISPLAY=:99.0"
      #   - "sh -e /etc/init.d/xvfb start"

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/customise-go.sh alfresco_version=$ALFVER domain_name=localhost
    - sleep 5
    - sudo puppet apply --modulepath=modules go.pp
    - cd
    - echo Using $TESTSRC tests
    - git clone https://github.com/${TESTSRC}/alfresco-tests.git
    - cd alfresco-tests
    - sudo ./install.sh 
    - sleep 90
    - sudo bash ./runtests.sh

{'fraction_non_alphanumeric': 0.1157684630738523, 'fraction_numerical': 0.00998003992015968, 'mean_word_length': 2.177496038034865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '442968', 'n_tokens_mistral': 779, 'n_tokens_neox': 736, 'n_words': 162}