25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Cache rebar2 deps/ dir in Travis for a 10% speedup approx.

This commit is contained in:
Badlop 2021-03-19 12:48:05 +01:00
parent 1f88a26f60
commit d8f01080ce

View File

@ -33,9 +33,14 @@ before_script:
- psql -U postgres ejabberd_test -c "GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO ejabberd_test;" - psql -U postgres ejabberd_test -c "GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO ejabberd_test;"
- psql -U postgres ejabberd_test -c "GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO ejabberd_test;" - psql -U postgres ejabberd_test -c "GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO ejabberd_test;"
cache:
directories:
- deps/
script: script:
- ./autogen.sh - ./autogen.sh
- ./configure --prefix=/tmp/ejabberd --enable-all --disable-odbc --disable-elixir - ./configure --prefix=/tmp/ejabberd --enable-all --disable-odbc --disable-elixir
- make update
- make - make
- make install -s - make install -s
- make xref - make xref