Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #39 from savoirfairelinux/readme
Browse files Browse the repository at this point in the history
Add a little conformity, cleanup some code
  • Loading branch information
pedrobaeza committed Jul 19, 2014
2 parents 4be2886 + a8d741c commit 0a5754c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ to your project’s root directory.
If your project depends on other OCA/Github repositories simply add the following under `before_install` section:

install:
- git clone https://github.com/OCA/a_project_x $HOME/a_project_x -b 7.0
- git clone https://github.com/OCA/a_project_y $HOME/a_project_y -b 7.0
- git clone https://github.com/OCA/a_project_x ${HOME}/a_project_x -b ${VERSION}
- git clone https://github.com/OCA/a_project_y ${HOME}/a_project_y -b ${VERSION}

And add path to the cloned repositories to the `travis_run_tests` command:

script:
- travis_run_tests 7.0 $HOME/a_project_x $HOME/a_project_y
- travis_run_tests ${VERSION} $HOME/a_project_x ${HOME}/a_project_y

Sample coveralls configuration file
------------------------------------
Expand All @@ -31,7 +31,7 @@ project:

[report]
include =
*/OCA/<YOUR_PROJECT_NAME_HERE>/*
*/<YOUR_PROJECT_NAME_HERE>/*

omit =
*/tests/*
Expand Down
13 changes: 7 additions & 6 deletions sample_files/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
language: python

python:
- "2.7"

virtualenv:
system_site_packages: true

env:
- VERSION="8.0"

virtualenv:
system_site_packages: true

install:
- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
- travis_install_nightly $VERSION
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly ${VERSION}
- $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION}

script:
Expand Down

0 comments on commit 0a5754c

Please sign in to comment.