Updated travis build
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -1,8 +1,16 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.5"
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- golang
|
||||
before_install:
|
||||
- export GOPATH=~/go
|
||||
- go get github.com/BurntSushi/toml-test
|
||||
install:
|
||||
- python setup.py install
|
||||
- chmod +x ./tests/*.sh
|
||||
script:
|
||||
- python toml_test.py < examples/example-v0.4.0.toml
|
||||
- ~/go/bin/toml-test ./tests/decoding_test.sh
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python2
|
||||
"""Decodes toml and outputs it as tagged JSON"""
|
||||
|
||||
import datetime
|
||||
|
||||
2
tests/decoding_test.sh
Executable file
2
tests/decoding_test.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
python tests/decoding_test.py
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/env python
|
||||
"""Decodes toml and outputs it as JSON"""
|
||||
|
||||
import toml_test
|
||||
|
||||
Reference in New Issue
Block a user