<commit_before>dist: trusty
sudo: required
language: c
compiler: gcc

install:
  - sudo apt-get install pigz
  - pip install sphinx sphinx-rtd-theme

before_script:
  - export CH_TEST_TARDIR=/var/tmp/tarballs
  - export CH_TEST_IMGDIR=/var/tmp/images
  - export CH_TEST_PERMDIRS='/var/tmp /run'
  - export CH_TEST_OMIT=mpi
  - unset JAVA_HOME  # otherwise Spark tries to use host's Java
  - df -h
  - for d in $CH_TEST_PERMDIRS; do sudo test/make-perms-test $d $USER nobody; done

script:
  - set -e
  - make
  - cd test
  - make test-build
  - make test-run
  - make test-test
  - cd -
  - make clean && make SETUID=yes
  - cd test
  - make test-build
  - make test-run
  - make test-test
  - cd -
  - make clean && make
  - make export
  - tar xf charliecloud-*.tar.gz
  - cd charliecloud-*
  - make
  - sudo make install PREFIX=/usr/local
  - cd /usr/local/share/doc/charliecloud/test
  - make test-build
  - make test-run
  - make test-test
<commit_msg>run pip with sudo to make new Travis image happy<commit_after>dist: trusty
sudo: required
language: c
compiler: gcc

install:
  - sudo apt-get install pigz
  - sudo pip install sphinx sphinx-rtd-theme

before_script:
  - export CH_TEST_TARDIR=/var/tmp/tarballs
  - export CH_TEST_IMGDIR=/var/tmp/images
  - export CH_TEST_PERMDIRS='/var/tmp /run'
  - export CH_TEST_OMIT=mpi
  - unset JAVA_HOME  # otherwise Spark tries to use host's Java
  - df -h
  - for d in $CH_TEST_PERMDIRS; do sudo test/make-perms-test $d $USER nobody; done

script:
  - set -e
  - make
  - cd test
  - make test-build
  - make test-run
  - make test-test
  - cd -
  - make clean && make SETUID=yes
  - cd test
  - make test-build
  - make test-run
  - make test-test
  - cd -
  - make clean && make
  - make export
  - tar xf charliecloud-*.tar.gz
  - cd charliecloud-*
  - make
  - sudo make install PREFIX=/usr/local
  - cd /usr/local/share/doc/charliecloud/test
  - make test-build
  - make test-run
  - make test-test

{'fraction_non_alphanumeric': 0.10542476970317298, 'fraction_numerical': 0.0, 'mean_word_length': 2.484848484848485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1017478', 'n_tokens_mistral': 768, 'n_tokens_neox': 726, 'n_words': 206}