Skip to content

No successful Travis builds in the last 4 months #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cclauss opened this issue Sep 29, 2017 · 5 comments
Closed

No successful Travis builds in the last 4 months #125

cclauss opened this issue Sep 29, 2017 · 5 comments

Comments

@cclauss
Copy link
Member

cclauss commented Sep 29, 2017

https://travis-ci.org/TheAlgorithms/Python/builds

@ResilientNomad
Copy link

I would like to take this up

@cclauss
Copy link
Member Author

cclauss commented Dec 22, 2017

@harshildarji Instead of removing .travis.yml (as has been done), can we put that file back in place and then fix the errors? I and (I believe) @shabbir4791 would be willing to work on this.

@harshildarji
Copy link
Member

harshildarji commented Jan 20, 2018

@shabbir4791 @cclauss I am sure things are in place now. I am working on errors responsible for build failures.

@cclauss
Copy link
Member Author

cclauss commented Jan 20, 2018

Unfortunately flake8 tests currently fail on both Python 2 and Python 3:


flake8 testing of https://github.com/TheAlgorithms/Python on Python 2.7.14

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
            insert_tail(Head.next, data)
            ^
./data_structures/Trie/Trie.py:15:32: E999 SyntaxError: invalid syntax
    def insert_many(self, words: [str]):
                               ^
./dynamic_programming/fastfibonacci.py:10:16: E999 SyntaxError: invalid syntax
def fibonacci(n: int):
               ^
2     E999 SyntaxError: invalid syntax
1     F821 undefined name 'insert_tail'

flake8 testing of https://github.com/TheAlgorithms/Python on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./File_Transfer_Protocol/ftp_client_server.py:11:28: E999 SyntaxError: invalid syntax
print 'Server listening....'
                           ^
./Project Euler/Problem 29/solution.py:30:28: E999 SyntaxError: invalid syntax
    print "Number of terms ", len(collectPowers)
                           ^
./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
            insert_tail(Head.next, data)
            ^
./dynamic_programming/abbreviation.py:29:14: E999 SyntaxError: invalid syntax
    print abbr("daBcd", "ABC") # expect True
             ^
./machine_learning/scoring_functions.py:73:13: E999 SyntaxError: invalid syntax
    print str(numerator)
            ^
4     E999 SyntaxError: invalid syntax
1     F821 undefined name 'insert_tail'

@cclauss cclauss changed the title No successful Travis builds in the last 3 months No successful Travis builds in the last 4 months Jan 20, 2018
@cclauss
Copy link
Member Author

cclauss commented Jan 22, 2018

flake8 tests with --select=E901,E999,F821,F822,F823 currently pass on both Python 2 and Python 3!! Nice work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants