Skip to content

Commit c5470ba

Browse files
committed
Add configuration files and scripts for travis
Change-Id: I488eaf929e6b1194e0219f42e005effce92b0458 Reviewed-on: http://gerrit.aldebaran.lan/63914 Tested-by: gerrit Reviewed-by: vbarbaresi <[email protected]>
1 parent 4288ca6 commit c5470ba

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.travis.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
sudo: required
2+
dist: trusty
3+
4+
language: python
5+
6+
python:
7+
- "2.7"
8+
9+
addons:
10+
apt:
11+
packages:
12+
- doxygen
13+
- cmake
14+
- gdb
15+
16+
before_install:
17+
- sudo apt-get update -qq
18+
- sudo apt-get install -y ninja-build swig python-enchant
19+
20+
install:
21+
- pip install -r requirements.txt
22+
23+
script:
24+
# Make sure ssh user@localhost works (for qibuild deploy tests)
25+
- bash -xe ci/setup-ssh.sh
26+
- bash -xe ci/setup-git.sh
27+
- make -C python

ci/setup-git.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
git config --global user.email "[email protected]"
2+
git config --global user.name "Travis CI"

ci/setup-ssh.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Making sure ssh user@localhost works
2+
mkdir -p ~/.ssh
3+
ssh-keyscan -t rsa,dsa localhost >> ~/.ssh/known_hosts
4+
echo -e "\n\n\n" | ssh-keygen -t rsa -N ""
5+
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

0 commit comments

Comments
 (0)