# circle.yml #
# machine:
#   go:
#     version: 1.7.4

# customize dependencies
dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get install libx11-dev
    # - sudo apt-get install libgtkglextmm-x11-dev
    # - sudo apt-get install libghc6-x11-dev
    # - sudo apt-get install libgl1-mesa-swx11-dev
    - sudo apt-get install xorg-dev
    - sudo apt-get install libxtst-dev libpng++-dev 
    # Event: 
    - sudo apt-get install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev
    - sudo apt-get install libxkbcommon-dev
    # Clipboard:
    - sudo apt-get install xsel
    - sudo apt-get install xclip
  override:
    # './...' is a relative pattern which means all subdirectories
    - go get -u github.com/shirou/gopsutil
    - go get -t -d -v ./...

test:
  post:
    - bash <(curl -s https://codecov.io/bash)    