diff --git a/.travis.yml b/.travis.yml index 19073ee..68b17f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,17 @@ -dist: trusty +dist: bionic sudo: false language: python python: - '2.7' - '3.6' -env: COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5 +- '3.7' +- '3.8' +env: COMPILER_NAME=gcc CXX=g++ CC=gcc addons: apt: - sources: - - ubuntu-toolchain-r-test - - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3 packages: - coinor-cbc - - git - - cmake-data - - cmake - - g++-5 before_script: - git clone https://github.com/seqan/seqan.git seqan-src diff --git a/OptiTypePipeline.py b/OptiTypePipeline.py index 1e021b3..dc1bbd2 100755 --- a/OptiTypePipeline.py +++ b/OptiTypePipeline.py @@ -227,7 +227,7 @@ def get_num_threads(configured_threads): "See config.ini.example and note that its fields have changed recently.") sys.exit(-1) - config = configparser.SafeConfigParser(os.environ) + config = configparser.ConfigParser(os.environ) config.read(args.config.name) unpaired_weight = config.getfloat('behavior', 'unpaired_weight')