Merge pull request #300 from develtech/rm-update-travis-script

Remove update travis script
This commit is contained in:
Tony Narlock 2017-12-11 07:15:44 -06:00 committed by GitHub
commit 6e74791f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +0,0 @@
#!/bin/sh
# Updates .travis.yml envs based on tox.ini configuration.
# Removing old environment list
cp ./.travis.yml ./.travis.yml.bak
cat ./.travis.yml.bak | grep -v "^ - TOXENV=" > ./.travis.yml
# Inserting envs based on list generated by tox
for env_name in $(tox --listenvs | sort -r); do
sed -i "/^env:$/a\
\ \ - TOXENV=${env_name}" ./.travis.yml;
done