We developed a portable X-ray grating interferometer setup as a standard tool for testing optics at the Advanced Photon Source (APS) beamline 1-BM. The interferometer can be operated in phase-stepping, Moiré, or single-grating harmonic imaging mode with 1-D or 2-D gratings. All of the interferometer motions are motorized; hence, it is much easier and quicker to switch between the different modes of operation. A novel aspect of this new instrument is its designed portability. While the setup is designed to be primarily used as a standard tool for testing optics at 1-BM, it could be potentially deployed at other APS beamlines for beam coherence and wavefront characterization or imaging. The design of the interferometer system is described in detail and coherence measurements obtained at the APS 34-ID-E beamline are presented. The coherence was probed in two directions using a 2-D checkerboard, a linear, and a circular grating at X-ray energies of 8 keV, 11 keV, and 18 keV.