refactored travis-dependencies.sh