Skip to content

Commit

Permalink
Create INIT_ENV variable in config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael McConnell authored and Michael McConnell committed Aug 30, 2019
1 parent 2f382d4 commit 776bf04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
user: carma
environment:
TERM: xterm # use xterm to get full display output from build
INIT_ENV: /home/carma/.base-image/init-env.sh
working_directory: "/opt/carma/"
# Execution steps
steps:
Expand All @@ -21,11 +22,11 @@ jobs:
- run:
name: Build Package
command: |
source /opt/ros/kinetic/setup.bash
source ${INIT_ENV}
catkin_make install
- run:
name: Run C++ Tests
command: |
source /opt/ros/kinetic/setup.bash
source ${INIT_ENV}
source /opt/carma/devel/setup.bash
catkin_make run_tests

0 comments on commit 776bf04

Please sign in to comment.