language: python
sudo: false
env:
  global:
    secure: "OwcNfLq3nPhDkIwLA2In6YFB1+o9/J5vzHEUxCD0KNRrA1XTKbF1qWJcetUY4bTI/TUdMTTLU1WJ9BTIJVkivmLGzgmjluCyC0kaXe7+qZLQnoLjUM4wBpoT53bZ8XTCJQ7gKwQ8CyPK7EEDyINKUgHtPrDVMyoee9EsBH4sJWA="

python:
  - 3.5
install:
  - gem install travis
  # - ls -la ~/
  # trick travis CLI into thinking that I have already said yes/no to the
  # request to install the command line completion
  # - mkdir ~/.travis
  # - echo "checked_completion: true" > ~/.travis/config.yml
  # - cat ~/.travis/config.yml
  - travis login --github-token $GH_TOKEN | y
script:
  - python restart_travis.py
language: python
sudo: false
env:
  global:
    secure: "OwcNfLq3nPhDkIwLA2In6YFB1+o9/J5vzHEUxCD0KNRrA1XTKbF1qWJcetUY4bTI/TUdMTTLU1WJ9BTIJVkivmLGzgmjluCyC0kaXe7+qZLQnoLjUM4wBpoT53bZ8XTCJQ7gKwQ8CyPK7EEDyINKUgHtPrDVMyoee9EsBH4sJWA="

python:
  - 3.5
install:
  - gem install travis
  # - ls -la ~/
  # trick travis CLI into thinking that I have already said yes/no to the
  # request to install the command line completion
  # - mkdir ~/.travis
  # - echo "checked_completion: true" > ~/.travis/config.yml
  # - cat ~/.travis/config.yml
  - echo "y" | travis login --github-token $GH_TOKEN
script:
  - python restart_travis.py
Switch the order of the piping
Switch the order of the piping
