<commit_before>matrix:
  include:
  - os: linux
    language: generic
    env:
      - MINICONDA=https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
      - PY=3.6
  - os: osx
    language: generic
    env:
      - MINICONDA=https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
      - PY=3.6
branches:
  only:
  - master
  - ESS_GUI
addons:
  apt:
    packages:
    - python-pyopencl
    - ocl-icd-opencl-dev
    - opencl-headers
    - libblas-dev
    - libatlas-dev
    - libatlas-base-dev
    - liblapack-dev
    - gfortran
    - libhdf5-serial-dev
before_install:
- echo $TRAVIS_OS_NAME
- wget $MINICONDA -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
#- conda update --yes conda
- conda info -a
- conda install --yes python=$PY numpy scipy cython pylint wxpython matplotlib lxml h5py sphinx pyparsing html5lib reportlab pybind11 appdirs six numba mako
install:
- pip install periodictable xhtml2pdf unittest-xml-reporting pylint
# Note: use "... || true" below to silently ignore failure
- pip install pyopencl
script:
- cd ..
- export WORKSPACE=$(pwd)
- git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels
- git clone --depth=50 --branch=master https://github.com/bumps/bumps.git
- ls -ltr
- if [ ! -d "utils" ]; then mkdir utils; fi
- /bin/sh -xe sasview/build_tools/travis_build.sh<commit_msg>Simplify travis script<commit_after>matrix:
  include:
  - os: linux
    language: generic
    env:
      - MINICONDA=https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
      - PY=3.6
  - os: osx
    language: generic
    env:
      - MINICONDA=https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
      - PY=3.6
branches:
  only:
  - master
  - ESS_GUI
addons:
  apt:
    packages:
    - python-pyopencl
    - ocl-icd-opencl-dev
    - opencl-headers
    - libblas-dev
    - libatlas-dev
    - libatlas-base-dev
    - liblapack-dev
    - gfortran
    - libhdf5-serial-dev
before_install:
- echo $TRAVIS_OS_NAME
- wget $MINICONDA -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
#- conda update --yes conda
- conda info -a
- conda install --yes python=$PY numpy scipy cython pylint wxpython matplotlib lxml h5py sphinx pyparsing html5lib reportlab pybind11 appdirs six numba mako
install:
- pip install periodictable xhtml2pdf unittest-xml-reporting pylint
# Note: use "... || true" below to silently ignore failure
- pip install pyopencl
script:
- cd ..
- export WORKSPACE=$(pwd)
- git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels
- git clone --depth=50 --branch=master https://github.com/bumps/bumps.git
- ls -ltr
- mkdir -p utils
- /bin/sh -xe sasview/build_tools/travis_build.sh
{'fraction_non_alphanumeric': 0.12158374211632796, 'fraction_numerical': 0.016818500350385426, 'mean_word_length': 2.858108108108108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2162516', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1089, 'n_words': 239}