Skip to content

Commit

Permalink
Merge pull request #1113 from veg/develop
Browse files Browse the repository at this point in the history
Updating .travis.yml; fixing build issue with libcurl
  • Loading branch information
spond authored Mar 14, 2020
2 parents d5ec41d + 59f6a60 commit a1b28dd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
37 changes: 23 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ script:
- export OMP_NUM_THREADS=4
- travis_wait 60 eval $envSpecificTest

_shared_settings: &shared
addons:

jobs:
include:
- os: linux
addons:
apt:
sources:
- llvm-toolchain-precise
Expand All @@ -34,23 +37,29 @@ _shared_settings: &shared
packages:
- g++-9
- gcc-9
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi
- cmake .
- make

jobs:
include:
- os: linux
<<: *_shared_settings
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi
- cmake .
- make
env:
- envSpecificTest="export PATH=$PATH:$(pwd); cd; git clone https://gitlab.com/rdvelazquez/testiphy.git; cd testiphy; ./testiphy HYPHYMP"
- envSpecificTest="export PATH=$PATH:$(pwd); cd; git clone https://gitlab.com/rdvelazquez/testiphy.git; cd testiphy; ./testiphy HYPHYMP"

- os: linux
env:
- envSpecificTest="make test"
<<: *_shared_settings

addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-9
- gcc-9
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi
- cmake .
- make


# ---- Just run the hbl unit tests with gcc-4, 5 and 6 ----
Expand Down
5 changes: 3 additions & 2 deletions src/utils/hyphyunixutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ bool Get_a_URL (_String& urls, _String*
//curl_easy_setopt (curl, CURLOPT_VERBOSE, 1);
curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, (void*)(f?url2File:url2String));

if (hy_env::EnvVariableTrue (VerbosityLevelString)) {
/*if (hy_env::EnvVariableTrue (VerbosityLevelString)) {
curl_easy_setopt (curl,CURLOPT_NOPROGRESS,1);
}
}*/

res = curl_easy_perform (curl);
curl_easy_cleanup (curl);

Expand Down

0 comments on commit a1b28dd

Please sign in to comment.