1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
Jari Bakken
f7cd8286e4 Fix DB url in Travis migration 2020-02-20 08:30:19 +01:00
Jari Bakken
f999388e03 Use TEST_DATABASE_URL for running test against a separate DB. 2020-02-20 08:30:19 +01:00
Jari Bakken
642c06f6ba Begin work on running tests against the database:
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
  through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
  something  better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
  clear data from the currently configured database.
2020-02-20 08:30:18 +01:00
Jari Bakken
079ef631df Bump mocha timeout on Travis 2020-02-20 08:30:15 +01:00
Jari Bakken
c3f76b5ae2 Failure to report coverage should not cause build failure. 2020-02-20 08:30:15 +01:00
Jari Bakken
ee034c22d6 Fix .travis.yml 2020-02-20 08:30:13 +01:00
svelovla
7060be6afd Removed maven build for unleash-client-java from travis 2020-02-20 08:30:13 +01:00
Jari Bakken
1621d34e33 Reduce duplication in packaga.json and run coverage as part of npm test 2020-02-20 08:30:12 +01:00
andsandv
2207055a0d Forgot to add run to travis script 2020-02-20 08:30:11 +01:00
andsandv
3a22828a2c Only report coverage on travis build 2020-02-20 08:30:11 +01:00
Gard Rimestad
9df44a90f3 updating travis to jdk8 2020-02-20 08:30:11 +01:00
Ivar Conradi Østhus
65170f783f travis fix script. 2020-02-20 08:30:06 +01:00
ivaosthu
eb8a6b74f6 minor typo, argghh! 2020-02-20 08:30:06 +01:00
ivaosthu
0466d6da69 A bit of a hack to support java and node.
[1] claims that node.js is available in all envs in travis.
This setup is not optimal as we now longer controll the
node version, but could work for now.

[1] http://stackoverflow.com/questions/18456611/is-it-possible-to-set-up-travis-to-run-tests-for-several-languages
2020-02-20 08:30:06 +01:00
Gard Rimestad
601a7fc0b1 adding npm install to travis 2020-02-20 08:30:06 +01:00
Gard Rimestad
fc09749343 s/sever/server/g 2020-02-20 08:30:06 +01:00
Gard Rimestad
ab79b83b27 Update travis build 2020-02-20 08:30:06 +01:00
Jari Bakken
2344cbb6c7 Add HipChat notifications 2020-02-20 08:30:06 +01:00
Jari Bakken
162554387b Add .travis.yml 2020-02-20 08:30:06 +01:00