aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-03-08 17:02:34 +0100
committerThomas Citharel <tcit@tcit.fr>2016-06-09 17:12:51 +0200
commit5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3 (patch)
tree03ee1eab0d89d1857daca9e273fd8c9ca47e33c2 /.travis.yml
parent9f95b14dec88cf083cefa38d5fbd84189e07acac (diff)
downloadwallabag-5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3.tar.gz
wallabag-5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3.tar.zst
wallabag-5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3.zip
manage assets through npm
first draft remote assetic totally work nearly there use at least nodejs > 0.12 use proper version of grunt bump nodejs version for travis update npm workaround for materialize install node 5.0 add grunt-cli baggy theme & cache node modules cache bower & npm make travis build assets on php7 only exclude installing node & npm if not needed & use bash clean & try to make icomoon work on baggy ready config for travis rebase make travis work more travis work impove travis & update deps add missing pixrem deps add module through oddly lost ui updates install latest nodejs add install_dev.sh, link local binaries for npm/bower/grunt ui improvements (mostly baggy) fix travis build no need to install on travis Add unread filter to entries pages Add the ability to filter for unread pages in the filters menu. Add unread filter test to EntryControllerTest Add a new test to the EntryControllerTest collection which checks that only entries which have not been archived (and are treated as "unread") are retrieved. Improve English translation Update FAQ -Fix grammar -Add notes about MTA, firewall, and SELinux Update installation instructions -Fix grammar -Add SELinux section add screenshots of android docu in English Fix the deletion of Tags/Entries relation when delete an entry Fix #2121 Move fixtures to the right place Display a message when saving an entry failed When saving an entry fail because of database error we previously just returned `false`. Now we got an error in the log and the displayed notice to the user is updated too. Change ManyToMany between entry & tag Following https://gist.github.com/Ocramius/3121916 Be sure to remove the related entity when removing an entity. Let say you have Entry -> EntryTag -> Tag. If you remove the entry: - before that commit, the EntryTag will stay (at least using SQLite). - with that commit, the related entity is removed Prepare wallabag 2.0.5 enforce older materialize version
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 17 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index d397c872..0e72d207 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,9 @@ cache:
15 directories: 15 directories:
16 - vendor 16 - vendor
17 - $HOME/.composer/cache 17 - $HOME/.composer/cache
18 - node_modules
19 - $HOME/.cache/bower
20 - $HOME/.npm
18 21
19php: 22php:
20 - 5.5 23 - 5.5
@@ -22,16 +25,21 @@ php:
22 - 7.0 25 - 7.0
23 - hhvm 26 - hhvm
24 27
28node_js:
29 - "5"
30
25env: 31env:
26 - DB=mysql 32 - DB=mysql ASSETS=nobuild
27 - DB=pgsql 33 - DB=pgsql ASSETS=nobuild
28 - DB=sqlite 34 - DB=sqlite ASSETS=nobuild
29 35
30matrix: 36matrix:
31 fast_finish: true 37 fast_finish: true
32 include: 38 include:
33 - php: 7.0 39 - php: 7.0
34 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite 40 env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run DB=sqlite ASSETS=nobuild
41 - php: 7.0
42 env: DB=sqlite ASSETS=build
35 exclude: 43 exclude:
36 - php: hhvm 44 - php: hhvm
37 env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency 45 env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency
@@ -49,11 +57,15 @@ before_script:
49 - composer self-update --no-progress 57 - composer self-update --no-progress
50 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag_test;' -U postgres; fi; 58 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
51 59
60install:
61 - if [[ $ASSETS != nobuild ]]; then source ~/.nvm/nvm.sh && nvm install 5.0; fi;
62 - if [[ $ASSETS != nobuild ]]; then npm install -g npm@latest; fi;
63
52before_install: 64before_install:
53 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; 65 - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
54 66
55script: 67script:
56 - travis_wait composer install --no-interaction --no-progress --prefer-dist -o 68 - travis_wait bash install.sh
57 - ant prepare-$DB 69 - ant prepare-$DB
58 - bin/phpunit -v 70 - bin/phpunit -v
59 - if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi; 71 - if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;