Fixing travis CI build error by providing standard config file
This commit is contained in:
parent
50a5a21dc3
commit
bfd6d62a8a
2 changed files with 5 additions and 1 deletions
|
@ -15,10 +15,14 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with scoreboard-benchmark . If not, see <http://www.gnu.org/licenses/>.
|
along with scoreboard-benchmark . If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
|
try: # This is mainly required for Travis CI automated testing.
|
||||||
|
from src.config import config
|
||||||
|
except ImportError:
|
||||||
|
from src.config_lock import config
|
||||||
|
|
||||||
from src.models import db
|
from src.models import db
|
||||||
from src.views.errors import error_pages
|
from src.views.errors import error_pages
|
||||||
from src.views.scoreboard import scoreboard
|
from src.views.scoreboard import scoreboard
|
||||||
from src.config import config
|
|
||||||
import sys
|
import sys
|
||||||
import flask_bootstrap
|
import flask_bootstrap
|
||||||
import flask
|
import flask
|
||||||
|
|
Loading…
Reference in a new issue