Skip to content

Commit

Permalink
travis.yml for newest Ubuntu LTS, future-proof confiparser (#105)
Browse files Browse the repository at this point in the history
* travis.yml for bionic

* SafeConfigParser deprecated and unnecessary
  • Loading branch information
andras86 authored Apr 6, 2020
1 parent 208cf1d commit 1f6f861
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion OptiTypePipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 1f6f861

Please sign in to comment.