Skip to content

Commit 738bd62

Browse files
committed
Added l2tdevtools configuration files and generated dependency files
1 parent 33f48b4 commit 738bd62

9 files changed

+533
-6
lines changed

config/linux/gift_ppa_install.sh

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
#!/usr/bin/env bash
2+
#
3+
# This file is generated by l2tdevtools update-dependencies.py any dependency
4+
# related changes should be made in dependencies.ini.
5+
6+
# Exit on error.
7+
set -e
8+
9+
# Dependencies for running timesketch, alphabetized, one per line.
10+
# This should not include packages only required for testing or development.
11+
PYTHON2_DEPENDENCIES="python-alembic
12+
python-altair
13+
python-amqp
14+
python-aniso8601
15+
python-asn1crypto
16+
python-attr
17+
python-bcrypt
18+
python-billiard
19+
python-blinker
20+
python-bs4
21+
python-celery
22+
python-certifi
23+
python-cffi
24+
python-chardet
25+
python-click
26+
python-configparser
27+
python-cryptography
28+
python-datasketch
29+
python-dateutil
30+
python-editor
31+
python-elasticsearch
32+
python-elasticsearch5
33+
python-entrypoints
34+
python-enum34
35+
python-flask
36+
python-flask-bcrypt
37+
python-flask-login
38+
python-flask-migrate
39+
python-flask-restful
40+
python-flask-script
41+
python-flask-sqlalchemy
42+
python-flask-wtf
43+
python-gunicorn
44+
python-idna
45+
python-ipaddress
46+
python-itsdangerous
47+
python-jinja2
48+
python-jsonschema
49+
python-jwt
50+
python-kombu
51+
python-mako
52+
python-markupsafe
53+
python-neo4jrestclient
54+
python-numpy
55+
python-pandas
56+
python-parameterized
57+
python-pycparser
58+
python-pyrsistent
59+
python-redis
60+
python-requests
61+
python-six
62+
python-sqlalchemy
63+
python-toolz
64+
python-typing
65+
python-tz
66+
python-urllib3
67+
python-vine
68+
python-werkzeug
69+
python-wtforms
70+
python-yaml";
71+
72+
# Additional dependencies for running tests, alphabetized, one per line.
73+
TEST_DEPENDENCIES="python-coverage
74+
python-flask-testing
75+
python-funcsigs
76+
python-mock
77+
python-nose
78+
python-pbr";
79+
80+
81+
sudo add-apt-repository ppa:gift/dev -y
82+
sudo apt-get update -q
83+
sudo apt-get install -y ${PYTHON2_DEPENDENCIES}
84+
85+
if [[ "$*" =~ "include-test" ]]; then
86+
sudo apt-get install -y ${TEST_DEPENDENCIES}
87+
fi

config/travis/install.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,16 @@ then
2525
docker run --name=${CONTAINER_NAME} --detach -i ubuntu:${UBUNTU_VERSION};
2626

2727
docker exec ${CONTAINER_NAME} apt-get update -q;
28-
docker exec ${CONTAINER_NAME} apt-get install -y software-properties-common;
28+
docker exec ${CONTAINER_NAME} sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y locales software-properties-common";
2929

3030
docker exec ${CONTAINER_NAME} add-apt-repository universe -y;
3131
docker exec ${CONTAINER_NAME} add-apt-repository ppa:gift/dev -y;
3232

3333
docker exec ${CONTAINER_NAME} apt-key adv --fetch-keys https://dl.yarnpkg.com/debian/pubkey.gpg;
3434
docker exec ${CONTAINER_NAME} add-apt-repository "deb https://dl.yarnpkg.com/debian/ stable main";
3535

36+
docker exec ${CONTAINER_NAME} locale-gen en_US.UTF-8;
37+
3638
if test ${TRAVIS_PYTHON_VERSION} = "2.7";
3739
then
3840
docker exec ${CONTAINER_NAME} sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y git yarn python ${DPKG_PYTHON2_DEPENDENCIES} ${DPKG_PYTHON2_TEST_DEPENDENCIES}";
@@ -47,6 +49,7 @@ then
4749
elif test ${TRAVIS_OS_NAME} = "linux" && test ${TARGET} != "jenkins";
4850
then
4951
pip install -r requirements.txt;
52+
pip install -r test_requirements.txt;
5053

5154
if test ${TARGET} = "pylint";
5255
then

0 commit comments

Comments
 (0)