aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.composer-auth.json7
-rw-r--r--.travis.yml3
2 files changed, 10 insertions, 0 deletions
diff --git a/.composer-auth.json b/.composer-auth.json
new file mode 100644
index 00000000..3f3f20b2
--- /dev/null
+++ b/.composer-auth.json
@@ -0,0 +1,7 @@
1{
2 "github-oauth": {
3 "github.com": "PLEASE DO NOT USE THIS TOKEN IN YOUR OWN PROJECTS/FORKS",
4 "github.com": "This token is reserved for testing the wallabag/wallabag repository",
5 "github.com": "dc690078d5c2effdbc5ca1a6a715ad5e9c075ff1"
6 }
7}
diff --git a/.travis.yml b/.travis.yml
index 819d29fd..c6d371a5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,6 +47,9 @@ before_script:
47 - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; 47 - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
48 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi; 48 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi;
49 49
50before_install:
51 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
52
50script: 53script:
51 - travis_wait composer update --no-interaction --no-progress 54 - travis_wait composer update --no-interaction --no-progress
52 - ant prepare-$DB 55 - ant prepare-$DB