<commit_before>sudo: false
language: python
cache: pip

python: 2.7

before_install:
  - export GALAXY_RELEASE=release_17.05

install:
  - pip install flake8 flake8-import-order planemo
  - planemo conda_init
  - planemo --version
  - echo $TRAVIS_COMMIT_RANGE
  - |
    planemo ci_find_repos --exclude data_managers \
                          --exclude packages \
                          --exclude_from .tt_blacklist \
                          --changed_in_commit_range "$TRAVIS_COMMIT_RANGE" \
                          --output changed_repositories.list
  - cat changed_repositories.list

script:
  - set -e
  - cd "$TRAVIS_BUILD_DIR" && flake8 --exclude=.git .
  - planemo shed_lint --tools --ensure_metadata --urls --report_level warn --fail_level error --recursive .
  - while read -r DIR; do planemo test --conda_dependency_resolution --conda_auto_install --galaxy_branch "$GALAXY_RELEASE" "$DIR"; done < changed_repositories.list
<commit_msg>Print conda version<commit_after>sudo: false
language: python
cache: pip

python: 2.7

before_install:
  - export GALAXY_RELEASE=release_17.05

install:
  - pip install flake8 flake8-import-order planemo
  - planemo conda_init
  - planemo --version
  - ~/miniconda3/bin/conda --version
  - echo $TRAVIS_COMMIT_RANGE
  - |
    planemo ci_find_repos --exclude data_managers \
                          --exclude packages \
                          --exclude_from .tt_blacklist \
                          --changed_in_commit_range "$TRAVIS_COMMIT_RANGE" \
                          --output changed_repositories.list
  - cat changed_repositories.list

script:
  - set -e
  - cd "$TRAVIS_BUILD_DIR" && flake8 --exclude=.git .
  - planemo shed_lint --tools --ensure_metadata --urls --report_level warn --fail_level error --recursive .
  - while read -r DIR; do planemo test --conda_dependency_resolution --conda_auto_install --galaxy_branch "$GALAXY_RELEASE" "$DIR"; done < changed_repositories.list

{'fraction_non_alphanumeric': 0.09687339825730394, 'fraction_numerical': 0.009738595592004101, 'mean_word_length': 2.3771626297577853, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6555617', 'n_tokens_mistral': 660, 'n_tokens_neox': 615, 'n_words': 140}