Selaa lähdekoodia

Try forcing Python 3 in Travis

Thibaud Colas 7 vuotta sitten
vanhempi
commit
2e31def01b
2 muutettua tiedostoa jossa 3 lisäystä ja 8 poistoa
  1. 3 3
      .travis.yml
  2. 0 5
      api.py

+ 3 - 3
.travis.yml

@@ -1,6 +1,6 @@
-language: ruby
-rvm:
-- 2.2
+language: python
+python:
+- 3.6
 before_script:
 - gem install awesome_bot
 script:

+ 0 - 5
api.py

@@ -73,11 +73,6 @@ if __name__ == '__main__':
     readme = open('README.md', 'r').read()
 
     try:
-        readme = readme.decode('utf-8')
-    except:
-        pass
-
-    try:
         parsed_readme = parse_readme(readme)
         json_path = './dist%s' % API_PATH