<commit_before>env:
  DOCKER_COMPOSE_VERSION: 1.23.2
  CAOM2_SEARCH_SERVER_VERSION: 2.7.12
  CAOM2_META_UI_VERSION: 1013
language: java
group: edge
jdk:
- oraclejdk8
dist: trusty
sudo: required
services:
- docker
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname
  -s`-`uname -m` > docker-compose
- chmod +x docker-compose && sudo mv docker-compose /usr/local/bin
- docker-compose -v
- gradle -v
script:
- cd caom2-ui-server && gradle clean build javadoc install && cd ..
- cd caom2-meta-ui && gradle clean build
- mkdir docker && cp Dockerfile docker/ && cp build/libs/*.war docker/ 
- docker build -t opencadc/caom2-meta-ui:SNAPSHOT -t opencadc/caom2-meta-ui:alpine -t opencadc/caom2-meta-ui:${CAOM2_META_UI_VERSION} -f docker/Dockerfile docker/
- cd ../caom2-search-lib && gradle clean build javadoc install
- cd ../caom2-search-server && gradle clean build install
- cd examples/default
- gradle -i clean build
- mkdir docker && cp Dockerfile docker/ && cp build/libs/*.war docker/ && cp *.properties docker/
- docker build -t opencadc/caom2-search:SNAPSHOT -t opencadc/caom2-search:alpine -t opencadc/caom2-search:${CAOM2_SEARCH_SERVER_VERSION} -f docker/Dockerfile docker/
- cd ../int-test
- docker-compose up -d
- docker ps -a
- cd ../default
- gradle -i -PintTest_selenium_server_url=http://localhost:4444 -PintTest_web_app_url=http://proxy.cadc.dao.nrc.ca -PintTest_web_app_endpoint=/search/ intTestFirefox<commit_msg>Fix for Travis build.<commit_after>env:
  DOCKER_COMPOSE_VERSION: 1.23.2
  CAOM2_SEARCH_SERVER_VERSION: 2.7.12
  CAOM2_META_UI_VERSION: 1013
language: java
group: edge
jdk:
- oraclejdk8
dist: trusty
sudo: required
services:
- docker
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname
  -s`-`uname -m` > docker-compose
- chmod +x docker-compose && sudo mv docker-compose /usr/local/bin
- docker-compose -v
- gradle -v
script:
- cd caom2-ui-server && gradle clean build javadoc install && cd ..
- cd caom2-meta-ui && gradle clean build
- docker build -t opencadc/caom2-meta-ui:SNAPSHOT -t opencadc/caom2-meta-ui:alpine -t opencadc/caom2-meta-ui:${CAOM2_META_UI_VERSION} .
- cd ../caom2-search-lib && gradle clean build javadoc install
- cd ../caom2-search-server && gradle clean build install
- cd examples/default
- gradle -i clean build
- mkdir docker && cp Dockerfile docker/ && cp build/libs/*.war docker/ && cp *.properties docker/
- docker build -t opencadc/caom2-search:SNAPSHOT -t opencadc/caom2-search:alpine -t opencadc/caom2-search:${CAOM2_SEARCH_SERVER_VERSION} -f docker/Dockerfile docker/
- cd ../int-test
- docker-compose up -d
- docker ps -a
- cd ../default
- gradle -i -PintTest_selenium_server_url=http://localhost:4444 -PintTest_web_app_url=http://proxy.cadc.dao.nrc.ca -PintTest_web_app_endpoint=/search/ intTestFirefox
{'fraction_non_alphanumeric': 0.13512739765244774, 'fraction_numerical': 0.018894932722588034, 'mean_word_length': 3.9142053445850915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7335642', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1295, 'n_words': 295}