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

Commit

Permalink
Merge 99a91c5 into 9c5c51d
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Jul 21, 2014
2 parents 9c5c51d + 99a91c5 commit 1dfda74
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ virtualenv:
system_site_packages: true

env:
- VERSION="master"
- VERSION="master" ODOO_REPO="odoo/odoo"
- VERSION="master" ODOO_REPO="OCA/OCB"
- VERSION="8.0"
- VERSION="7.0"
- VERSION="6.1"
Expand Down
3 changes: 2 additions & 1 deletion sample_files/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ python:
- "2.7"

env:
- VERSION="8.0"
- VERSION="7.0" ODOO_REPO="odoo/odoo"
- VERSION="7.0" ODOO_REPO="OCA/OCB"

virtualenv:
system_site_packages: true
Expand Down
5 changes: 4 additions & 1 deletion travis/travis_install_nightly
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash

ODOO_URL="https://github.com/odoo/odoo/archive/$1.tar.gz"
: ${ODOO_REPO:="odoo/odoo"} # default value, if not set
IFS="/" read -a REPO <<< "${ODOO_REPO}"
ODOO_URL="https://github.com/${REPO[0]}/${REPO[1]}/archive/${1}.tar.gz"

echo "Installing Odoo ${ODOO_URL}"
wget -O odoo.tar.gz ${ODOO_URL}
tar -xf odoo.tar.gz -C ../
Expand Down
7 changes: 6 additions & 1 deletion travis/travis_run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ case ${version} in
;;
esac

server_path="../odoo-$version"
: ${ODOO_REPO:="odoo/odoo"} # default value, if not set
IFS="/" read -a REPO <<< "$ODOO_REPO"

server_path="../${REPO[1]}-$version"
addons_path="$server_path/addons"
echo "Using repo $ODOO_REPO and addons path $addons_path"


for repo in "$@" $TRAVIS_BUILD_DIR;
do
Expand Down

0 comments on commit 1dfda74

Please sign in to comment.