<commit_before>sudo: required

env:
  matrix:
   - DOCKER_COMPOSE_VERSION: 1.9.0
  global:
   - DESECSTACK_DOMAIN=your.hostname.example.com
   - DESECSTACK_API_ADMIN=<EMAIL>
   - DESECSTACK_API_SEPA_CREDITOR_ID=TESTCREDITORID
   - DESECSTACK_API_EMAIL_HOST=mail.your.hostname.example.com
   - DESECSTACK_API_EMAIL_HOST_USER=user
   - DESECSTACK_API_EMAIL_HOST_PASSWORD=password
   - DESECSTACK_API_EMAIL_PORT=25
   - DESECSTACK_API_SECRETKEY=9Fn33T5yGuds
   - DESECSTACK_DBAPI_PASSWORD_desec=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_pdnslord=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_pdnsmaster=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_poweradmin=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_ns1replication=<PASSWORD>
   - DESECSTACK_DB_SUBJECT_ns1replication=9Fn33T5yGufacv
   - DESECSTACK_DB_PASSWORD_ns2replication=<PASSWORD>
   - DESECSTACK_DB_SUBJECT_ns2replication=9Fn33T5yGukjnrtj
   - DESECSTACK_DEVADMIN_PASSWORDmd5=.
   - DESECSTACK_NSLORD_APIKEY=<KEY>
   - DESECSTACK_NSMASTER_APIKEY=<KEY>
   - DESECSTACK_IPV4_REAR_PREFIX16=172.19
   - DESECSTACK_IPV6_SUBNET=fd80::/8
   - DESECSTACK_IPV6_ADDRESS=fd80::1
   - DESECSTACK_WWW_CERTS=/dev/null
   - DESECSTACK_DBMASTER_CERTS=/dev/null
   - DESECSTACK_NORECAPTCHA_SITE_KEY=9Fn33T5yGulkjhdidid
   - DESECSTACK_NORECAPTCHA_SECRET_KEY=9Fn33T5yGulkjhoiwhetoi

language: python

services:
  - docker

before_install:
  # Get our own docker-compose
  - 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
  # Get web content
  - rm -f www
  - rm -f static
  - git clone https://github.com/desec-io/desec-www.git www
  - git clone https://github.com/desec-io/desec-static.git static
  - mkdir static/dist
  - docker-compose build --no-cache --pull

script:
  - ./test-api
<commit_msg>fix(travis): directory missing, closes desec-static/#9<commit_after>sudo: required

env:
  matrix:
   - DOCKER_COMPOSE_VERSION: 1.9.0
  global:
   - DESECSTACK_DOMAIN=your.hostname.example.com
   - DESECSTACK_API_ADMIN=<EMAIL>
   - DESECSTACK_API_SEPA_CREDITOR_ID=TESTCREDITORID
   - DESECSTACK_API_EMAIL_HOST=mail.your.hostname.example.com
   - DESECSTACK_API_EMAIL_HOST_USER=user
   - DESECSTACK_API_EMAIL_HOST_PASSWORD=password
   - DESECSTACK_API_EMAIL_PORT=25
   - DESECSTACK_API_SECRETKEY=9Fn33T5yGuds
   - DESECSTACK_DBAPI_PASSWORD_desec=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_pdnslord=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_pdnsmaster=9<PASSWORD>yGukjwelt
   - DESECSTACK_DB_PASSWORD_poweradmin=<PASSWORD>
   - DESECSTACK_DB_PASSWORD_ns1replication=<PASSWORD>
   - DESECSTACK_DB_SUBJECT_ns1replication=9Fn33T5yGufacv
   - DESECSTACK_DB_PASSWORD_ns2replication=<PASSWORD>
   - DESECSTACK_DB_SUBJECT_ns2replication=9Fn33T5yGukjnrtj
   - DESECSTACK_DEVADMIN_PASSWORDmd5=.
   - DESECSTACK_NSLORD_APIKEY=<KEY>
   - DESECSTACK_NSMASTER_APIKEY=<KEY>
   - DESECSTACK_IPV4_REAR_PREFIX16=172.19
   - DESECSTACK_IPV6_SUBNET=fd80::/8
   - DESECSTACK_IPV6_ADDRESS=fd80::1
   - DESECSTACK_WWW_CERTS=/dev/null
   - DESECSTACK_DBMASTER_CERTS=/dev/null
   - DESECSTACK_NORECAPTCHA_SITE_KEY=<KEY>
   - DESECSTACK_NORECAPTCHA_SECRET_KEY=9Fn33T5yGulkjhoiwhetoi

language: python

services:
  - docker

before_install:
  # Get our own docker-compose
  - 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
  # Get web content
  - rm -f www
  - rm -f static
  - git clone https://github.com/desec-io/desec-www.git www
  - git clone https://github.com/desec-io/desec-static.git static
  - mkdir static/ultima
  - docker-compose build --no-cache --pull

script:
  - ./test-api

{'fraction_non_alphanumeric': 0.09708987895956735, 'fraction_numerical': 0.023177955189286635, 'mean_word_length': 4.447405329593268, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 24, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3540428', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1658, 'n_words': 170}