<commit_before>machine:
  environment:
    TRANSPORTER_DEP_FOLDER: "/home/ubuntu/.go_workspace/src/github.com/wawandco/transporter"
    TRANS_TESTING_FOLDER: "/home/ubuntu/testing_folder"
    TEST_DATABASE_URL:   "user=ubuntu dbname=circle_test sslmode=disable"
  services:
    - postgresql

dependencies:
  override:
    - rm -rf /home/ubuntu/testing_folder
    - mkdir -p /home/ubuntu/testing_folder
    - rm -rf $TRANSPORTER_DEP_FOLDER
    - mkdir -p $TRANSPORTER_DEP_FOLDER
    - cp -R ./Godeps $TRANSPORTER_DEP_FOLDER/Godeps
    - cp -R ./utils $TRANSPORTER_DEP_FOLDER/utils
    - cp -R ./cmd $TRANSPORTER_DEP_FOLDER/cmd
    - cp -R ./transporter $TRANSPORTER_DEP_FOLDER/transporter

test:
  pre:
    # - psql -c "DROP TABLE IF EXISTS other_table;" -U ubuntu -d circle_test
    # - psql -c "DROP TABLE IF EXISTS transporter_migrations;" -U ubuntu -d circle_test
    # - psql -c "DROP TABLE IF EXISTS down_table;" -U ubuntu -d circle_test
  override:
    - go test ./... -v -run TestDown<commit_msg>config, running all tests back<commit_after>machine:
  environment:
    TRANSPORTER_DEP_FOLDER: "/home/ubuntu/.go_workspace/src/github.com/wawandco/transporter"
    TRANS_TESTING_FOLDER: "/home/ubuntu/testing_folder"
    TEST_DATABASE_URL:   "user=ubuntu dbname=circle_test sslmode=disable"
  services:
    - postgresql

dependencies:
  override:
    - rm -rf /home/ubuntu/testing_folder
    - mkdir -p /home/ubuntu/testing_folder
    - rm -rf $TRANSPORTER_DEP_FOLDER
    - mkdir -p $TRANSPORTER_DEP_FOLDER
    - cp -R ./Godeps $TRANSPORTER_DEP_FOLDER/Godeps
    - cp -R ./utils $TRANSPORTER_DEP_FOLDER/utils
    - cp -R ./cmd $TRANSPORTER_DEP_FOLDER/cmd
    - cp -R ./transporter $TRANSPORTER_DEP_FOLDER/transporter

test:
  override:
    - go test ./... -v
{'fraction_non_alphanumeric': 0.1084611016467916, 'fraction_numerical': 0.0, 'mean_word_length': 3.1556603773584904, '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': '1002684', 'n_tokens_mistral': 722, 'n_tokens_neox': 668, 'n_words': 133}