-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
4288ca6
commit c5470ba
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
sudo: required | ||
dist: trusty | ||
|
||
language: python | ||
|
||
python: | ||
- "2.7" | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- doxygen | ||
- cmake | ||
- gdb | ||
|
||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -y ninja-build swig python-enchant | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
|
||
script: | ||
# Make sure ssh user@localhost works (for qibuild deploy tests) | ||
- bash -xe ci/setup-ssh.sh | ||
- bash -xe ci/setup-git.sh | ||
- make -C python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Travis CI" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Making sure ssh user@localhost works | ||
mkdir -p ~/.ssh | ||
ssh-keyscan -t rsa,dsa localhost >> ~/.ssh/known_hosts | ||
echo -e "\n\n\n" | ssh-keygen -t rsa -N "" | ||
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys |