--- /dev/null
+{
+ "github-oauth": {
+ "github.com": "PLEASE DO NOT USE THIS TOKEN IN YOUR OWN PROJECTS/FORKS",
+ "github.com": "This token is reserved for testing the wallabag/wallabag repository",
+ "github.com": "dc690078d5c2effdbc5ca1a6a715ad5e9c075ff1"
+ }
+}
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi;
+before_install:
+ - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
+
script:
- travis_wait composer update --no-interaction --no-progress
- ant prepare-$DB