Travis CI defaults to wrong language

0 votes

I’m working on a very simple python project and trying to run tests using travis CI

My travis.yml file

language: python
  python:
    - "3.6"
# command to install dependencies
install:
  - pip install -r python/01/requirements.txt
script:
  - cd python/01 && pytest

Configuration showed on travis CI page in my repo, its showing language as ruby instead of python

Idk why

Jul 25, 2018 in Other DevOps Questions by Hannah
• 17,070 points

edited Jul 25, 2018 by Hannah 31 views

1 answer to this question.

0 votes

Its probably because of syntax error

Instead of

language: python
  python:
    - "3.6"

Use this

language: python
python:
  - "3.6"

answered Jul 25, 2018 by Kalgi
• 45,910 points

Related Questions In Other DevOps Questions

0 votes
1 answer

Use vagrant to update $PATH of guest vm

Just try the below script: mvm.vm.provision :shell, :inline ...READ MORE

answered May 1, 2018 in Other DevOps Questions by shubham
• 6,890 points
92 views
0 votes
1 answer

Copy log files to local machines using Jenkins

Try initializing the variables with values according ...READ MORE

answered May 2, 2018 in Other DevOps Questions by ajs3033
• 7,280 points
60 views
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,810 points
505 views
+1 vote
2 answers

Unable to build TFS project because files not found

Please make a folder in solution Nd ...READ MORE

answered May 16 in Other DevOps Questions by Shashikesh Mishra
745 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
252 views
0 votes
1 answer
0 votes
1 answer

Unable to Pull image from quay.io: ERROR x509: certificate signed by unknown authority

Download necessary CA certificate. "/etc/ssl/certs/ca-certificates.crt", -> Debian/Ubuntu "/etc/pki/tls/certs/ca-bundle.crt", ...READ MORE

answered Jul 3, 2018 in Other DevOps Questions by Kalgi
• 45,910 points
844 views
0 votes
1 answer

Capistrano deploy error saying "end of file reached" while deploying to Ubuntu server

Seems like Capistrano can't connect to the server ...READ MORE

answered Jul 3, 2018 in Other DevOps Questions by Kalgi
• 45,910 points
109 views