Skip to content

Commit

Permalink
Clone tag only
Browse files Browse the repository at this point in the history
There were merge conflict issues appearing with cloning first and then
checking out (although it shouldn't). Cloning tag only might solve it.
And anyways that should really be the preferred way, it's faster and
downloads only the part we're interested in.
  • Loading branch information
lars-petter-hauge committed Jun 6, 2019
1 parent 3a26267 commit 81c76bf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,11 @@ before_install:
- pip install --upgrade -r requirements.txt
# Checkout libres - need libecl version
- source .libres_version
- git clone https://github.com/equinor/libres
- git clone --branch $LIBRES_VERSION --depth 1 https://github.com/equinor/libres
- pushd libres
- git checkout tags/$LIBRES_VERSION
- source .libecl_version
- popd
- git clone https://github.com/equinor/libecl
- pushd libecl
- git checkout tags/$LIBECL_VERSION
- popd
- git clone --branch $LIBECL_VERSION --depth 1 https://github.com/equinor/libecl

install:
# For now we have to make install libecl.
Expand Down

0 comments on commit 81c76bf

Please sign in to comment.