<commit_before>build_image: damsl/k3-tests
env:
  - GHCVER=7.8.3
  - CABALVER=1.20

install:
  - cd /k3/K3-Core
  - git pull
  - cd /k3/K3-Driver
  - git pull
  - cd /k3/K3-Mosaic
  - git pull

script:
  - service postgresql start
  - cd /k3/K3-Driver
  - cabal install --only-dependencies --disable-documentation
  - cabal configure
  - cabal build
    #- scripts/tests/tests.py -l scripts/tests/passed_tests.txt
    # Fibonacci:
  - ./compile.sh -O1 ../K3-Core/examples/algorithms/fibonacci.k3
  - ./clean.sh
    # RS Full:
  - ./compile.sh ../K3-Core/examples/sql/mosaic/rsfull.k3
  - ./clean.sh
    # Amplab q1 w/ test:
  - ./compile.sh -O1 ../K3-Core/examples/distributed/amplab/q1.k3
  - __build/A -p ./scripts/tests/cpp/sql/q1/peers.yml
  - ./scripts/tests/cpp/sql/check_result.sh /k3/K3-Driver/scripts/tests/cpp/sql/q1/
  - ./clean.sh
    # Amplab q2 w/ test:
  - ./compile.sh -O1 ../K3-Core/examples/distributed/amplab/q2.k3
  - __build/A -p ./scripts/tests/cpp/sql/q2/peers.yml
  - ./scripts/tests/cpp/sql/check_result.sh /k3/K3-Driver/scripts/tests/cpp/sql/q2/
    #- ./compile.sh ../K3-Core/examples/distributed/amplab/q2.k3

notifications:
     email:
         recipients:
             - <EMAIL>
         on_success: change
         on_failure: always<commit_msg>Add amplab q3 to shippable<commit_after>build_image: damsl/k3-tests
env:
  - GHCVER=7.8.3
  - CABALVER=1.20

install:
  - cd /k3/K3-Core
  - git pull
  - cd /k3/K3-Driver
  - git pull
  - cd /k3/K3-Mosaic
  - git pull

script:
  - service postgresql start
  - cd /k3/K3-Driver
  - cabal install --only-dependencies --disable-documentation
  - cabal configure
  - cabal build
    #- scripts/tests/tests.py -l scripts/tests/passed_tests.txt
    # Fibonacci:
  - ./compile.sh -O1 ../K3-Core/examples/algorithms/fibonacci.k3
  - ./clean.sh
    # RS Full:
  - ./compile.sh ../K3-Core/examples/sql/mosaic/rsfull.k3
  - ./clean.sh
    # Amplab q1 w/ test:
  - ./compile.sh -O1 ../K3-Core/examples/distributed/amplab/q1.k3
  - __build/A -p ./scripts/tests/cpp/sql/q1/peers.yml
  - ./scripts/tests/cpp/sql/check_result.sh /k3/K3-Driver/scripts/tests/cpp/sql/q1/
  - ./clean.sh
    # Amplab q2 w/ test:
  - ./compile.sh -O1 ../K3-Core/examples/distributed/amplab/q2.k3
  - __build/A -p ./scripts/tests/cpp/sql/q2/peers.yml
  - ./scripts/tests/cpp/sql/check_result.sh /k3/K3-Driver/scripts/tests/cpp/sql/q2/
  - ./clean.sh
    # Amplab q3 w/ test, using pre-generated code until we fix std::move issues:
  - cp ../K3-Core/examples/distributed/amplab/q3.cpp __build/
  - ./compile.sh -2 ../K3-Core/examples/distributed/amplab/q3.k3
  - ./scripts/tests/cpp/sql/check_result.sh /k3/K3-Driver/scripts/tests/cpp/sql/q3/
    #- ./compile.sh ../K3-Core/examples/distributed/amplab/q2.k3

notifications:
     email:
         recipients:
             - <EMAIL>
         on_success: change
         on_failure: always
{'fraction_non_alphanumeric': 0.1633008356545961, 'fraction_numerical': 0.03238161559888579, 'mean_word_length': 2.1398907103825136, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1819694', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1169, 'n_words': 184}