https://github.com/tensorflow/tensor2tensor
Raw File
Tip revision: 176d8b392193ecc208dcc517d5c0dc377f05a3d5 authored by Afroz Mohiuddin on 21 November 2019, 18:21:15 UTC
Revert "Fix decoding in prepend mode (#1726)"
Tip revision: 176d8b3
.travis.yml
sudo: required
language: python
cache: pip
git:
  depth: 3
  quiet: true
services:
  - docker
python:
  - "2.7"
  - "3.6"
env:
  global:
    - T2T_PROBLEM=algorithmic_reverse_binary40_test
    - T2T_DATA_DIR=/tmp/t2t-data
    - T2T_TRAIN_DIR=/tmp/t2t-train
    - TF_LATEST="1.15.*"
    # This is necessary to have gsutil work with Python 2.7
    - BOTO_CONFIG=/dev/null
  matrix:
    - TF_VERSION="1.15.*"
install:
  - ./oss_scripts/oss_pip_install.sh
script:
  - ./oss_scripts/oss_tests.sh
  - ./oss_scripts/oss_integration_test.sh

  # Conditional commands should each be in a separate block to get proper
  # errors on Travis.
  #
  # TODO(afrozm): Re-enable if this becomes an issue.
  # - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
  #       pylint -j 2 tensor2tensor;
  #   fi
back to top