Commit Graph

18 Commits

Author SHA1 Message Date
Bruno Pinto
dde679ff98 Get original repository branch name
Travis does not provide the original repository branch name on any
environment variable. We are getting the information from the GitHub
API instead.

The misleading environment variable `TRAVIS_BRANCH` returns `master`
instead:
> TRAVIS_BRANCH: For builds not triggered by a pull request this is the
name of the branch currently being built; whereas for builds triggered
by a pull request this is the name of the branch targeted by the pull
request (in many cases this will be master).

Reference: http://docs.travis-ci.com/user/environment-variables/
2015-10-02 23:50:18 +01:00
Bruno Pinto
faba765a94 Run tests on an isolated docker environment
- Install fish from dockerfile and generate a docker image.
- Install Oh My Fish! from downloaded git repository and generate a
  docker image.
2015-10-02 23:50:18 +01:00
Bruno Pinto
319c8a05cd Don't overwrite function on test environment
Instead of overwriting functions that use `exec fish` on test
environment, skip this call if the variable `CI` has been defined on the
running shell.
2015-10-02 23:50:18 +01:00
Pyry-Samuli Lahti
c97e1af4bc Add test-generate-themes-doc.fish
* Run with Travis CI, if commits contain changes to `db/themes`
* When run; fail build if `docs/Themes.md` is no longer up-to-date
2015-09-28 23:36:22 +03:00
jeremiejig
961d051c2e Some Renaming. Creation of tools dir.
Moving and renaming install_fish.sh to travis_install_fish

Moving travis_* from tests to tools.

rename: fish_user_function/ -> functions_override/

renaming travis_test.fish to test_runner.fish
2015-09-27 14:59:20 +02:00
jeremiejig
2556068da6 adding the entry point to do some more test. 2015-09-27 14:51:18 +02:00
jeremiejig
7919f8ef6a travis: new travis_install_omf script to checkout PR 2015-09-27 14:51:16 +02:00
jeremiejig
e68dca448a travis: setting env for OMF_REPO_URI and OMF_REPO_BRANCH 2015-09-27 14:49:35 +02:00
jeremiejig
250fe263ef Travis: Adding fish-2.2.0 from github.
Adding apt dependencies + build script + cache directive.
2015-09-27 14:49:22 +02:00
Bruno Pinto
946c7f445e Travis integration for slack
Command: `travis encrypt "..." --add notifications.slack`
2015-09-26 17:29:05 +01:00
Bruno
d28dbc13e5 Only send travis notifications when build fails 2015-09-06 00:52:37 +01:00
Jorge Bucaran
2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 2015-08-27 00:20:13 +09:00
Bruno Pinto
1d4b192607 travis hook for gitter integration 2015-03-30 21:58:26 -03:00
Bruno Pinto
bdc8dbb818 email notification settings 2015-01-19 12:58:50 -02:00
Bruno Pinto
b1fee8b857 running tests on linux and osx 2015-01-19 12:58:50 -02:00
Bruno Pinto
4d1e85fbe0 run all tests, including plugins tests, on travis 2015-01-13 15:41:16 -02:00
Jorge Bucaran
09e6da27e2 Fix boostrap/script to oh-my-fish.spec.fish 2015-01-13 15:29:39 -02:00
Jorge Bucaran
0aa8af477a Add travis support via .travis.yml and bash bootstrap script 2015-01-13 21:02:00 +09:00