gnucash master: Actually checkout gtest 1.8.0 in travis tests.

Geert Janssens geert.gnucash at kobaltwit.be
Sun Jan 15 11:43:42 EST 2017


Op zaterdag 14 januari 2017 13:33:58 CET schreef John Ralls:
> Updated	 via  https://github.com/Gnucash/gnucash/commit/c1e38d5a (commit)
> 	from  https://github.com/Gnucash/gnucash/commit/67a0e46f (commit)
> 
> 
> 
> commit c1e38d5a9f30711cea0a6effbedea725291b8a17
> Author: John Ralls <jralls at ceridwen.us>
> Date:   Sat Jan 14 10:33:14 2017 -0800
> 
>     Actually checkout gtest 1.8.0 in travis tests.
> 
>     The other way just makes a new branch pointing to refs/master/HEAD.
> 
John,

While I certainly prefer your approach (I wasn't aware you could immediately 
specify a branch/tag to check out while cloning), are you sure my version 
would create a branch pointing at head ?
I would think it would checkout the release-1.8.0 tag, which is a detached 
head at that point. Or do I read your comment incorrectly ?

Geert

> diff --git a/.travis.yml b/.travis.yml
> index 8bdfe89..bda0de6 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -17,5 +17,5 @@ install:
>    - sudo apt-get install -qq swig
>    - sudo apt-get install -qq libboost-all-dev
>    - sudo apt-get --reinstall install -qq language-pack-en language-pack-fr
> -  - git clone https://github.com/google/googletest ~/gtest && cd ~/gtest &&
> git checkout release-1.8.0 && cd - +  - git clone
> https://github.com/google/googletest -b release-1.8.0 ~/gtest script:
> ./autogen.sh && ./configure GTEST_ROOT=~/gtest/googletest
> GMOCK_ROOT=~/gtest/googlemock && make && TZ="America/Los_Angeles" make
> check
> 
> 
> 
> Summary of changes:
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> _______________________________________________
> gnucash-changes mailing list
> gnucash-changes at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-changes




More information about the gnucash-devel mailing list