<commit_before>language: go
go:
- 1.3
services:
- memcached
before_install:
- sudo apt-get -qq remove -y libmemcached-dev
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ utopic main"
- sudo apt-get -qq update
- sudo apt-get install -y libmemcached-dev
install:
- make
script:
- make simplepush
- make test
- PUSHGO_TEST_STORAGE_MC_HOSTS=localhost:11211 make test-memcached
before_deploy:
- mkdir -p build/server
- gzip simplepush
- cp simplepush.gz build/server/simplepush-linux-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.gz
deploy:
  provider: s3
  access_key_id: <KEY>
  secret_access_key:
    secure: <KEY>
  bucket: travis-binary-uploading
  skip_cleanup: true
  local-dir: build/server
  upload-dir: simplepush-server<commit_msg>Only build libmemcached for deploys.<commit_after>language: go
go:
- 1.3
services:
- memcached
install:
- make
script:
- make test
- PUSHGO_TEST_STORAGE_MC_HOSTS=localhost:11211 make test-memcached
before_deploy:
- sudo apt-get -qq remove -y libmemcached-dev
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ utopic main"
- sudo apt-get -qq update
- sudo apt-get install -y libmemcached-dev
- make simplepush
- mkdir -p build/server
- gzip simplepush
- cp simplepush.gz build/server/simplepush-linux-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.gz
deploy:
  provider: s3
  access_key_id: <KEY>
  secret_access_key:
    <KEY>
  bucket: travis-binary-uploading
  skip_cleanup: true
  local-dir: build/server
  upload-dir: simplepush-server
{'fraction_non_alphanumeric': 0.10381781647689216, 'fraction_numerical': 0.010716677829872739, 'mean_word_length': 4.1875, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5466954', 'n_tokens_mistral': 560, 'n_tokens_neox': 528, 'n_words': 129}